mirror of
https://git.planet-casio.com/Lephenixnoir/fxsdk.git
synced 2024-12-29 13:03:37 +01:00
fxsdk: add a sensible .gitignore when creating projects
This commit is contained in:
parent
f461c08a17
commit
203572b2af
2 changed files with 10 additions and 0 deletions
9
fxsdk/assets/gitignore
Normal file
9
fxsdk/assets/gitignore
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# Build files
|
||||||
|
/build-fx
|
||||||
|
/build-cg
|
||||||
|
/*.g1a
|
||||||
|
/*.g3a
|
||||||
|
|
||||||
|
# Common IDE files
|
||||||
|
*.sublime-project
|
||||||
|
*.sublime-workspace
|
|
@ -115,6 +115,7 @@ fxsdk_new_project_interactive() {
|
||||||
|
|
||||||
assets="$PREFIX/share/fxsdk/assets"
|
assets="$PREFIX/share/fxsdk/assets"
|
||||||
cp "$assets"/Makefile "$1"
|
cp "$assets"/Makefile "$1"
|
||||||
|
cp "$assets"/gitignore "$1"/.gitignore
|
||||||
cp "$assets"/main.c "$1"/src
|
cp "$assets"/main.c "$1"/src
|
||||||
cp "$assets"/icon-fx.png "$1"/assets-fx
|
cp "$assets"/icon-fx.png "$1"/assets-fx
|
||||||
cp "$assets"/icon-cg-uns.png "$1"/assets-cg
|
cp "$assets"/icon-cg-uns.png "$1"/assets-cg
|
||||||
|
|
Loading…
Reference in a new issue