Created
September 19, 2013 20:15
-
-
Save weatheredwatcher/6629215 to your computer and use it in GitHub Desktop.
Here is a basic shell script to create a new project based on lithium. Download then type: `sudo mv lithifyme.sh /usr/local/bin/lithifyme` or place it somewhere in your PATH so that you can execute it globally.
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/bash | |
# Lithifyme script. | |
# Creates a new project based on lithium. | |
# @Author David Duggins [[email protected]] | |
# Released under the GPLv3 | |
if [ ! -d "$1" ]; then | |
git clone git://github.com/UnionOfRAD/framework.git $1 | |
echo "initializing submodules" | |
cd $1 | |
git submodule init | |
git submodule update | |
echo "Done" | |
else | |
echo "Directory $1 already exists" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment