Created
October 21, 2016 09:47
-
-
Save yvan-sraka/00f64f5ac004dc277cd2f142d9a8d708 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh -x | |
language='javascript' | |
# Get x-common repository | |
git clone https://github.com/exercism/x-common/ | |
cd x-common | |
git pull origin master | |
cd .. | |
# Get x$language repository | |
git clone "https://github.com/exercism/x$language/" | |
cd "x$language" | |
git pull origin master | |
ls exercises | xargs -I {} curl -i -H 'Authorization: token 8ead7ebaa36901c6f12cad103c6ec23bd474271b' -X PATCH -d '{"name":"js-{}"}' https://api.github.com/repos/simplonco/{} | |
cd .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment