-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.replit
More file actions
49 lines (38 loc) · 1.42 KB
/
.replit
File metadata and controls
49 lines (38 loc) · 1.42 KB
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
modules = ["rust"]
[agent]
expertMode = true
[nix]
channel = "stable-25_05"
packages = ["nix-output-monitor", "pv"]
[workflows]
runButton = "Project"
[[workflows.workflow]]
name = "Project"
mode = "parallel"
author = "agent"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "Test Application"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "Build and Run"
[[workflows.workflow]]
name = "Test Application"
author = "agent"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = """
cargo build && echo \"Build successful! Testing with sample Nix JSON input...\" && echo '@nix {\"action\":\"start\",\"id\":123,\"level\":1,\"parent\":0,\"text\":\"building hello-world-1.0\",\"type\":105}
@nix {\"action\":\"msg\",\"level\":0,\"msg\":\"Starting build process\",\"raw_msg\":\"Starting build process\"}
@nix {\"action\":\"result\",\"id\":123,\"fields\":[1,2,1,0]}
@nix {\"action\":\"stop\",\"id\":123}' | cargo run -- --json"""
[workflows.workflow.metadata]
outputType = "console"
[[workflows.workflow]]
name = "Build and Run"
author = "agent"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "cargo build --release && echo \"Build completed successfully!\" && echo \"Testing with sample input...\" && echo '@nix {\"action\":\"start\",\"id\":123456,\"level\":1,\"parent\":0,\"text\":\"building hello-world-1.0\",\"type\":105}' | ./target/release/nix-json-monitor --json"
[workflows.workflow.metadata]
outputType = "console"