Last active
December 15, 2015 02:59
-
-
Save osahyoun/5190802 to your computer and use it in GitHub Desktop.
Tiny script for creating the backbone for a simple ruby app.
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 | |
# What is the name of the app? | |
NAME=$1 | |
# Make directory structure | |
mkdir -p $NAME/{lib/$NAME,spec/lib/$NAME} | |
cd $NAME | |
# Create files | |
touch lib/$NAME.rb | |
touch README.md | |
touch Gemfile | |
touch Procfile | |
touch config.ru | |
touch spec/spec_helper.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment