fix: swapped order of modifying justfile and move file command

This commit is contained in:
Sara Gerretsen 2025-09-03 22:13:14 +02:00
parent a4f67b29f8
commit 5f633ff3af

View file

@ -1,4 +1,4 @@
set-project-name projectname: set-project-name projectname:
sed -i "s/CHANGEME/{{projectname}}/g" ./CMakeLists.txt ./src/CMakeLists.txt ./justfile sed -i "s/CHANGEME/{{projectname}}/g" ./CMakeLists.txt ./src/CMakeLists.txt ./justfile
sed -i "s/CHANGEME.cpp/{{projectname}}.cpp/g" ./justfile
mv ./src/CHANGEME.cpp ./src/{{projectname}}.cpp mv ./src/CHANGEME.cpp ./src/{{projectname}}.cpp
sed -i "s/CHANGEME.cpp/{{projectname}}.cpp/g" ./justfile