Justfile & makefile changes
This commit is contained in:
parent
1655cd83f5
commit
5712d3f51d
2 changed files with 31 additions and 2 deletions
19
Justfile
Normal file
19
Justfile
Normal file
|
@ -0,0 +1,19 @@
|
|||
# List available actions
|
||||
help:
|
||||
@just -l
|
||||
|
||||
# Do a debug build
|
||||
debug:
|
||||
make -j$(nproc)
|
||||
|
||||
# Do a release build
|
||||
release:
|
||||
make -j$(nproc) RELEASE=1
|
||||
|
||||
# Watch and recompile on changes
|
||||
watch:
|
||||
watchexec -e c,cc,cpp,h,hpp -- make -j$(nproc)
|
||||
|
||||
# Clean up
|
||||
clean:
|
||||
make clean
|
Loading…
Add table
Add a link
Reference in a new issue