default: @just --list # build the dev binary build: cargo build # run the test suite test: cargo test # clean cargo and nuke all the temporary makepkg folders clean: cargo clean sudo rm -rf pkg/grrs/{src,pkg,grrs} pkg/grrs/*.tar.* sudo rm -rf pkg/grrs-git/{src,pkg,grrs} pkg/grrs-git/*.tar.* # generate updated .SRCINFO files for both arch packages srcinfo: cd pkg/grrs && makepkg --printsrcinfo > .SRCINFO cd pkg/grrs-git && makepkg --printsrcinfo > .SRCINFO # test build the stable arch package locally test-pkg: cd pkg/grrs && makepkg -si # test build the bleeding-edge arch package locally test-pkg-git: cd pkg/grrs-git && makepkg -si # cut a new version tag and push it to the git server publish-tag version: git tag -a v{{ version }} -m "Release v{{ version }}" git push ahjo main --tags