feat: add just commands to build and install applet only
This commit is contained in:
parent
34a33df5fc
commit
8c3e26d0d0
1 changed files with 8 additions and 0 deletions
8
justfile
8
justfile
|
|
@ -49,6 +49,10 @@ build-debug *args:
|
||||||
# Compiles with release profile
|
# Compiles with release profile
|
||||||
build-release *args: (build-debug '--release' args)
|
build-release *args: (build-debug '--release' args)
|
||||||
|
|
||||||
|
# Compiles applet with release profile
|
||||||
|
build-release-applet *args:
|
||||||
|
cargo build --package {{applet-name}} --release {{args}}
|
||||||
|
|
||||||
# Compiles release profile with vendored dependencies
|
# Compiles release profile with vendored dependencies
|
||||||
build-vendored *args: vendor-extract (build-release '--frozen --offline' args)
|
build-vendored *args: vendor-extract (build-release '--frozen --offline' args)
|
||||||
|
|
||||||
|
|
@ -95,6 +99,10 @@ install:
|
||||||
install -Dm0644 "{{icons-src}}/$size/apps/{{APPID}}.svg" "{{icons-dst}}/$size/apps/{{APPID}}.svg"; \
|
install -Dm0644 "{{icons-src}}/$size/apps/{{APPID}}.svg" "{{icons-dst}}/$size/apps/{{APPID}}.svg"; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Installs applet files
|
||||||
|
install-applet:
|
||||||
|
install -Dm0755 {{applet-src}} {{applet-dst}}
|
||||||
|
|
||||||
# Uninstalls installed files
|
# Uninstalls installed files
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f {{bin-dst}} {{applet-dst}}
|
rm -f {{bin-dst}} {{applet-dst}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue