Skip to content

Instantly share code, notes, and snippets.

@sam-github
Created June 6, 2019 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sam-github/13dc763c97408eee592b90fbc5be8d41 to your computer and use it in GitHub Desktop.
Save sam-github/13dc763c97408eee592b90fbc5be8d41 to your computer and use it in GitHub Desktop.
#!/bin/sh
N=$1
set -x
# set -e
git f
git co master && git reset --hard upstream/master
./configure --ninja
ninja $N -C out/Release node
git co v12.x-staging && git reset --hard upstream/v12.x-staging
./configure --ninja
ninja $N -C out/Release node
git co v11.x-staging && git reset --hard upstream/v11.x-staging
./configure --ninja
ninja $N -C out/Release node
git co v10.x-staging && git reset --hard upstream/v10.x-staging
./configure --ninja
ninja $N -C out/Release node
git co master && git reset --hard upstream/master
./configure --ninja
ninja $N -C out/Debug node
git co v12.x-staging && git reset --hard upstream/v12.x-staging
./configure --ninja
ninja $N -C out/Debug node
git co v11.x-staging && git reset --hard upstream/v11.x-staging
./configure --ninja
ninja $N -C out/Debug node
git co v10.x-staging && git reset --hard upstream/v10.x-staging
./configure --ninja
ninja $N -C out/Debug node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment