if [ ! -d "alg" ]; then
git clone https://github.com/cubing/alg.js alg
fi
if [ ! -d "kpuzzle" ]; then
git clone https://github.com/cubing/kpuzzle.js kpuzzle
fi
if [ ! -d "twisty" ]; then
git clone https://github.com/cubing/twisty.js twisty
fi
if [ ! -d "puzzlegeometry" ]; then
git clone https://github.com/rokicki/puzzlegeometry
fi
if [ ! -d "twizzle" ]; then
git clone https://github.com/rokicki/twizzle
fi
# Register each checkout for linking.
cd alg ; yarn link ; cd -
cd kpuzzle ; yarn link ; cd -
cd twisty ; yarn link ; cd -
cd puzzlegeometry ; yarn link ; cd -
cd twizzle ; yarn link ; cd -
# yarn install each project
cd alg ; yarn install ; cd -
cd kpuzzle ; yarn install ; cd -
cd twisty ; yarn install ; cd -
cd puzzlegeometry ; yarn install ; cd -
cd twizzle ; yarn install ; cd -
# Link dependency projects
cd kpuzzle ; yarn link alg ; cd -
cd twisty ; yarn link alg kpuzzle ; cd -
cd twizzle ; yarn link alg kpuzzle puzzlegeometry twisty ; cd -
# Build each project
cd alg ; make dist ; cd -
cd kpuzzle ; make dist ; cd -
cd twisty ; make dist ; cd -
cd puzzlegeometry ; make dist ; cd -
cd twizzle ; make dist ; cd -
Last active
July 16, 2018 18:52
-
-
Save lgarron/ae47e62a0df2f0b470b439968d3f749f to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment