refactor(justfile): split justfile into small files (#42)

- build.just
- debug.just
- dev.just
- gen.just
- pkg.just
- test.just
This commit is contained in:
VERSE
2026-07-26 20:53:25 +07:00
committed by GitHub
parent 27e0792560
commit 1540b9655a
7 changed files with 253 additions and 249 deletions
+24
View File
@@ -0,0 +1,24 @@
# run iris
[group('dev')]
run:
@./iris
# initialize default config file
[group('dev')]
config-init:
@./iris config init
# re-build and reload iris
[group('dev')]
[linux, macos]
reload:
@go build -o iris ./cmd/iris
@if [ -f ~/.local/bin/iris ]; then rm -f ~/.local/bin/iris && cp ./iris ~/.local/bin/iris; fi
@if [ -n "${IRIS_PID:-}" ]; then kill -USR1 $IRIS_PID 2>/dev/null || true; fi
@if [ -z "${IRIS_FD:-}" ]; then ./iris; fi
# copy to local bin
[group('dev')]
copy:
@rm ~/.local/bin/iris
@cp ./iris ~/.local/bin/iris