Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1 from fxos/1141191-overwrite-b2g
Browse files Browse the repository at this point in the history
Bug 1141191 - Add script to overwrite B2G repo with shallow-built lightsaber Gaia. r=kgrandon
  • Loading branch information
DouglasSherk committed Mar 24, 2015
2 parents 94d698e + 1e9eafb commit cda832b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Expand Up @@ -24,6 +24,9 @@ copy_app=rm -rf gaia/outoftree_apps/$(app) && \
hellomake:
$(build) && (cd gaia && make)

shallow:
$(build)

install-gaia:
$(build) && (cd gaia && make install-gaia)

Expand Down
14 changes: 14 additions & 0 deletions replace-B2G.sh
@@ -0,0 +1,14 @@
#!/bin/bash
if [[ ! -d "$B2G_PATH" ]]; then
B2G_PATH=../B2G
fi

if [[ -z "$GAIA_DEV_PIXELS_PER_PX" ]]; then
GAIA_DEV_PIXELS_PER_PX=2.25
fi

make install
make sync
GAIA_DEV_PIXELS_PER_PX=$GAIA_DEV_PIXELS_PER_PX make shallow
rm -rf $B2G_PATH/gaia
cp -r gaia $B2G_PATH/gaia

0 comments on commit cda832b

Please sign in to comment.