Skip to content

Commit 89b95a6

Browse files
committed
Update Cargo Makefile
1 parent b6d0a51 commit 89b95a6

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

Makefile.toml

+8-3
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,17 @@ default_to_workspace = false
33

44
[tasks.build-portald]
55
command = "cargo"
6-
args = ["build" , "-p", "portal-server"]
6+
args = ["build" , "-p", "portald"]
77

88
[tasks.run-portald]
99
dependencies = ["build-portald"]
1010
command = "sudo"
11-
args = ["./target/debug/portald", "--config", "config.local.toml"]
11+
args = ["./target/debug/portald", "run", "--config", "config.local.toml"]
12+
13+
[tasks.install-portald]
14+
dependencies = ["build-portald"]
15+
command = "cargo"
16+
args = ["install", "--path", "bins/portald"]
1217

1318
[tasks.build-pgun]
1419
command = "cargo"
@@ -20,5 +25,5 @@ args = ["build" , "-p", "portal-client", "--release"]
2025

2126
[tasks.install-pgun]
2227
command = "cargo"
23-
args = ["install", "--path", "bins/portal-client"]
28+
args = ["install", "--path", "bins/pgun"]
2429

0 commit comments

Comments
 (0)