Skip to content

Instantly share code, notes, and snippets.

@Sephsekla
Created October 21, 2020 15:47
Show Gist options
  • Save Sephsekla/adff2d9fbc29f3c1290ec2acf03b2f54 to your computer and use it in GitHub Desktop.
Save Sephsekla/adff2d9fbc29f3c1290ec2acf03b2f54 to your computer and use it in GitHub Desktop.
create-dome-app
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