INITIALIZED TEMPLATE

main
Sara 2024-11-14 15:50:12 +01:00
parent 0cc02e94fe
commit 52efab2eed
3 changed files with 2 additions and 10 deletions

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
# binaries # binaries
*.o *.o
PROJECTNAME game

View File

@ -1,5 +1,5 @@
project='PROJECTNAME' project='game'
env = Environment(CCFLAGS=['-std=c++20', '-Wall', '-O0', '-g3']) env = Environment(CCFLAGS=['-std=c++20', '-Wall', '-O0', '-g3'])
env.ParseConfig('sdl2-config --static-libs') env.ParseConfig('sdl2-config --static-libs')

View File

@ -1,8 +0,0 @@
#!/bin/sh
git init &&\
git add . && git commit -m "TEMPLATE" &&\
sed -i -e "s/PROJECTNAME/$1/g" ./SConstruct ./.gitignore &&\
rm init-project.sh &&\
git add . && git commit -a -m "INITIALIZED TEMPLATE"