-
Notifications
You must be signed in to change notification settings - Fork 0
/
.justfile
29 lines (22 loc) · 901 Bytes
/
.justfile
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
set fallback := true
_targets:
@just --list --unsorted --list-heading $'Available targets:\n' --list-prefix " "
# updates the top-level flake lock file
@update-flake:
nix flake update --commit-lock-file --commit-lockfile-summary "update Nix flake inputs"
# prints repo statistics
@stats:
tokei
# upgrades dependencies across all Gradle projects
@versions:
./gradlew refreshVersionsMigrate --mode=VersionsPropertiesOnly && ./gradlew refreshVersions
# compiles programs as native images placed under build/native/nativeCompile/
@images:
./gradlew nativeCompile
# prints names and version numbers of the shared libraries for a given program
@libs program:
file build/native/nativeCompile/{{program}}
otool -L build/native/nativeCompile/{{program}}
# prints names and version numbers of the shared libraries for a given program
@run program:
build/native/nativeCompile/{{program}}