diff --git a/build.sh b/build.sh index 9aac928..8948b18 100755 --- a/build.sh +++ b/build.sh @@ -1,4 +1,9 @@ #!/bin/bash -rm system.zip -zip system.zip -r ../pokemon-foundry/ \ No newline at end of file +pushd "build" + ./build.sh +popd + +git add . +git commit -m ":sparkles:" +git push \ No newline at end of file diff --git a/build/.ignore b/build/.ignore new file mode 100644 index 0000000..ad47331 --- /dev/null +++ b/build/.ignore @@ -0,0 +1,4 @@ +.git* +__pycache__ +.vscode +build \ No newline at end of file diff --git a/build/build.sh b/build/build.sh new file mode 100755 index 0000000..a3c6673 --- /dev/null +++ b/build/build.sh @@ -0,0 +1,14 @@ +#!/bin/bash +CWD="$(dirname $(realpath $0))" + +mkdir "pokemon-foundry" +rsync --progress \ + --recursive \ + --prune-empty-dirs \ + --exclude-from="${CWD}/.ignore" \ + "../" "pokemon-foundry" + +zip -9r "../system.zip" "pokemon-foundry" + +rm --force --recursive "pokemon-foundry" + diff --git a/system.zip b/system.zip new file mode 100644 index 0000000..8a0da9a Binary files /dev/null and b/system.zip differ