File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -6,22 +6,20 @@ HERE="$(dirname "${BASH_SOURCE[0]}")"
6
6
cd " $HERE "
7
7
REPO_DIR=" $( git rev-parse --show-toplevel) "
8
8
9
- subproject () {
10
- proj=" $1 "
11
- dir=" $( mktemp -d -t " $proj " .XXX) "
12
- echo " Building subproject [directory=$dir ]"
13
- git clone " https://github.com/elihunter173/$proj .git" " $dir "
14
- cd " $dir "
15
- }
16
-
17
- subproject asteroids-3d
9
+ ASTEROIDS=" $( mktemp -d -t asteroids-3d.XXX) "
10
+ echo " Building asteroids-3d [directory=$ASTEROIDS ]"
11
+ git clone https://github.com/elihunter173/asteroids-3d.git " $ASTEROIDS "
12
+ cd " $ASTEROIDS "
18
13
npm install --production
19
14
npm run build
20
15
cp -r ./dist " $REPO_DIR /static/asteroids"
21
16
17
+ CITY_GAME=" $( mktemp -d -t city-game.XXX) "
18
+ echo " Building city-game [directory=$CITY_GAME ]"
22
19
eval ` ssh-agent -s`
23
20
ssh-add - <<< " $CITY_GAME_PRIVATE_DEPLOY_KEY"
24
- subproject city-game
21
+ git clone git@github.com:elihunter173/city-game.git " $CITY_GAME "
22
+ cd " $CITY_GAME "
25
23
cargo build --release --target wasm32-unknown-unknown
26
24
wasm-bindgen --no-typescript --target web \
27
25
--out-dir ./out/ \
You can’t perform that action at this time.
0 commit comments