Skip to content
Permalink
Browse files

Updated build scripts.

  • Loading branch information...
valyard committed Jan 25, 2016
1 parent 43ae86d commit 0f396fdedc9458412dd32ada548c0f6474e78da6
Showing with 14 additions and 10 deletions.
  1. +8 −6 Build/package.sh
  2. +6 −4 Build/sync_modules.sh
  3. 0 Modules/.gitignore
@@ -19,12 +19,14 @@ rm -f "$ASSETSTORE/Assets/TouchScript.meta"
cp -r "$SOURCE/Assets/TouchScript" "$ASSETSTORE/Assets/"
cp "$SOURCE/Assets/TouchScript.meta" "$ASSETSTORE/Assets/"

for i in $(ls -d "$MODULES/"*/); do
FILE="${i%%/}/Build/package.sh"
if [ -f $FILE ]; then
"$FILE" "$ASSETSTORE/Assets/TouchScript/Modules"
fi
done
if [ -d "$MODULES" ]; then
for i in $(ls -d "$MODULES/"*/); do
FILE="${i%%/}/Build/package.sh"
if [ -f $FILE ]; then
"$FILE" "$ASSETSTORE/Assets/TouchScript/Modules"
fi
done
fi

printf "\n\e[1;36mPackaging TouchScript.unitypackage.\e[0;39m\n"

@@ -3,7 +3,9 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
MODULES=$(cd "$DIR/../Modules/" && pwd)

for i in $(ls -d "$MODULES/"*/); do
FOLDER="${i%%/}"
"$DIR/utils/sync_module.sh" "$FOLDER"
done
if [ -d "$MODULES" ]; then
for i in $(ls -d "$MODULES/"*/); do
FOLDER="${i%%/}"
"$DIR/utils/sync_module.sh" "$FOLDER"
done
fi
No changes.

0 comments on commit 0f396fd

Please sign in to comment.
You can’t perform that action at this time.