fix: build is now the default recipe in the justfile
This commit is contained in:
parent
53ce3de32c
commit
747d804368
12
justfile
12
justfile
|
|
@ -1,11 +1,11 @@
|
|||
build:
|
||||
cmake --build build
|
||||
|
||||
generate:
|
||||
cmake -S. -Bbuild -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
|
||||
|
||||
set-project-name projectname:
|
||||
sed -i "s/CHANGEME/{{projectname}}/g" ./CMakeLists.txt ./src/CMakeLists.txt ./justfile .kdev4/*
|
||||
mv ./src/CHANGEME.cpp ./src/{{projectname}}.cpp
|
||||
sed -i "s/CHANGEME.cpp/{{projectname}}.cpp/g" ./justfile
|
||||
rm -rf build bin
|
||||
|
||||
generate:
|
||||
cmake -S. -Bbuild -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
|
||||
|
||||
build:
|
||||
cmake --build build
|
||||
|
|
|
|||
Loading…
Reference in a new issue