update flake

This commit is contained in:
Ashley Wulber 2023-06-26 17:36:23 -04:00 committed by Ashley Wulber
parent 0ebe53201f
commit 0b0a30898d
3 changed files with 81 additions and 30 deletions

View file

@ -17,6 +17,13 @@ build: _extract_vendor
#!/usr/bin/env bash
cargo build {{cargo_args}}
# Compiles with debug profile
build-debug *args:
cargo build {{args}}
# Compiles with release profile
build-release *args: (build-debug '--release' args)
_install_icon path:
install -Dm0644 {{path}} {{iconsdir}}/{{file_name(path)}}