From 203572b2afb70cc5ac2e7ab4d86e151d3fc3fbe2 Mon Sep 17 00:00:00 2001 From: Lephenixnoir Date: Wed, 30 Dec 2020 20:58:37 +0100 Subject: [PATCH] fxsdk: add a sensible .gitignore when creating projects --- fxsdk/assets/gitignore | 9 +++++++++ fxsdk/fxsdk.sh | 1 + 2 files changed, 10 insertions(+) create mode 100644 fxsdk/assets/gitignore diff --git a/fxsdk/assets/gitignore b/fxsdk/assets/gitignore new file mode 100644 index 0000000..219e88c --- /dev/null +++ b/fxsdk/assets/gitignore @@ -0,0 +1,9 @@ +# Build files +/build-fx +/build-cg +/*.g1a +/*.g3a + +# Common IDE files +*.sublime-project +*.sublime-workspace diff --git a/fxsdk/fxsdk.sh b/fxsdk/fxsdk.sh index d00c0f9..0e0efd1 100755 --- a/fxsdk/fxsdk.sh +++ b/fxsdk/fxsdk.sh @@ -115,6 +115,7 @@ fxsdk_new_project_interactive() { assets="$PREFIX/share/fxsdk/assets" cp "$assets"/Makefile "$1" + cp "$assets"/gitignore "$1"/.gitignore cp "$assets"/main.c "$1"/src cp "$assets"/icon-fx.png "$1"/assets-fx cp "$assets"/icon-cg-uns.png "$1"/assets-cg