Skip to content

Forklifting my fixes over to develop as well #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions scripts/clone-demo-game.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@
set -euo pipefail
IFS=$'\n\t'

CLONE_DIRECTORY="springroll-io-demo-game"
TARGET_DIRECTORY="static/springroll-io-demo-game"

# Create the folder where we'll drop the demo game contents
rm -rf build/springroll-io-demo-game
mkdir -p build/springroll-io-demo-game
rm -rf "$TARGET_DIRECTORY"
mkdir -p "$TARGET_DIRECTORY"

# Clone down the demo game
rm -rf springroll-io-demo-game
git clone --depth=1 https://github.com/SpringRoll/springroll-io-demo-game.git
cp -R springroll-io-demo-game/docs/* build/springroll-io-demo-game
rm -rf springroll-io-demo-game
rm -rf "$CLONE_DIRECTORY"
git clone --depth=1 https://github.com/SpringRoll/springroll-io-demo-game.git "$CLONE_DIRECTORY"
cp -R "$CLONE_DIRECTORY"/docs/* "$TARGET_DIRECTORY"
rm -rf "$CLONE_DIRECTORY"
Loading