-
Notifications
You must be signed in to change notification settings - Fork 8
/
bacon.toml
55 lines (50 loc) · 1.06 KB
/
bacon.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# This is a "bacon" setup for the project which is used for development.
# Bacon is a tool for cargo which watches for local file changes and runs commands when they occur.
# See: https://dystroy.org/bacon/
# To install bacon, run `cargo install bacon`
# To run:
# `bacon daemon`, `bacon telnet`, and `bacon web` respectively.
default_job = "daemon"
[jobs.daemon]
command = [
"cargo",
"run",
"--release",
"-p",
"moor-daemon",
"--",
"development.db",
"--textdump",
"JHCore-DEV-2.db",
"--textdump-out",
"out.db",
]
allow_warnings = true
need_stdout = true
env.RUST_BACKTRACE = "full"
[jobs.telnet]
command = ["cargo", "run", "-p", "moor-telnet-host"]
allow_warnings = true
need_stdout = true
[jobs.web]
command = [
"cargo",
"run",
"-p",
"moor-web-host",
"--",
"--listen-address",
"0.0.0.0:8080",
]
allow_warnings = true
[jobs.test]
command = [
"cargo",
"test",
"--color",
"always",
"--",
"--color",
"always", # see https://github.com/Canop/bacon/issues/124
]
need_stdout = true