File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ base-dir := absolute_path(clean(rootdir / prefix))
8
8
9
9
export INSTALL_DIR := base-dir / ' share'
10
10
11
- bin-src := ' target' / ' release' / name
11
+ cargo-target-dir := env (' CARGO_TARGET_DIR' , ' target' )
12
+ bin-src := cargo-target-dir / ' release' / name
12
13
bin-dst := base-dir / ' bin' / name
13
14
14
15
# Use mold linker if clang and mold exists.
@@ -57,11 +58,11 @@ check-json: (check '--message-format=json')
57
58
58
59
# Runs after compiling a release build
59
60
run : build-release
60
- . / target / release / cosmic-launcher
61
+ {{ bin-src }}
61
62
62
63
# Build and run with tokio-console enabled
63
64
tokio-console : (build-release ' --features console' )
64
- env TOKIO_CONSOLE=1 . / target / release / cosmic-launcher
65
+ env TOKIO_CONSOLE=1 {{ bin-src }}
65
66
66
67
# Installs files
67
68
install :
You can’t perform that action at this time.
0 commit comments