Created
October 21, 2020 15:47
-
-
Save Sephsekla/adff2d9fbc29f3c1290ec2acf03b2f54 to your computer and use it in GitHub Desktop.
create-dome-app
This file contains 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
PROJECT=$(pwd); | |
cd ~/ | |
mkdir -p create-dome-app-master && cd create-dome-app-master | |
if [ ! -d .git ]; then | |
cd ../ | |
rm create-dome-app-master | |
git clone https://github.com/avivbeeri/dome.git ./create-dome-app-master && cd create-dome-app-master && make; | |
else | |
git fetch | |
if git status -sb | grep -q 'behind'; then | |
git pull origin master && make | |
fi | |
fi; | |
cp dome "$PROJECT"/dome && cd "$PROJECT" && touch main.wren |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment