Skip to content

Commit ed8b72b

Browse files
committed
Justfile not great
1 parent 4e9bde5 commit ed8b72b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Justfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
set unstable
2+
13
env_vars := if os() == "linux" {
24
"LZMA_API_STATIC=1 LIBTORCH=/usr/local"
35
} else if os() == "macos" {
@@ -10,7 +12,7 @@ env_vars := if os() == "linux" {
1012

1113
build target="":
1214
@echo "Building for target: {{target}}"
13-
{{env_vars}} cargo build -p divvun-runtime-cli --release {{ if target != "" { "--target" {{target}}" } else { "" } }}
15+
{{env_vars}} cargo build -p divvun-runtime-cli --release {{ if target != "" { "--target" + target } else { "" } }}
1416

1517
# Install built binary
1618
install target="": (build target)

0 commit comments

Comments
 (0)