Skip to content

Commit a5319ef

Browse files
committed
install outta_space during bootstrap
1 parent 5475471 commit a5319ef

File tree

3 files changed

+28
-1
lines changed

3 files changed

+28
-1
lines changed

bootstrap.sh

+16-1
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,20 @@ function doInstallKernel() {
194194
fi
195195
}
196196

197+
function doInstallOuttaSpace() {
198+
check "Install outta_space" \
199+
"cd $BOOTSTRAP_DIR/third/outta_space; cp -r * $CHROOT_DIR/lounge/www/"
200+
}
201+
202+
function doBuildOuttaSpace() {
203+
check "Clone outta_space" \
204+
"cd $BOOTSTRAP_DIR/third/; ./clone_outta_space.sh"
205+
206+
check "Build outta_space" \
207+
"cd $BOOTSTRAP_DIR/third/; ./build_outta_space.sh"
208+
}
209+
210+
197211
function doBuild() {
198212
check "Update Repositories" \
199213
"$CHRT $APTNI update"
@@ -513,7 +527,8 @@ else
513527
else
514528
skip "cleanup packages"
515529
fi
516-
530+
doBuildOuttaSpace
531+
doInstallOuttaSpace
517532
doCleanupFiles
518533
doCopy
519534
doCreateBuildHtml

third/build_outta_space.sh

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
cd outta_space
4+
npm install
5+
./node_modules/.bin/browserify -d src/main.js -t babelify -o bundle.js
6+
7+
8+

third/clone_outta_space.sh

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
rm -rf outta_space
3+
git clone https://github.com/screeninvader/outta_space.git
4+

0 commit comments

Comments
 (0)