Skip to content

Instantly share code, notes, and snippets.

@nbashaw
Created December 22, 2010 23:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nbashaw/752255 to your computer and use it in GitHub Desktop.
Save nbashaw/752255 to your computer and use it in GitHub Desktop.
A little ruby script to start out new projects for me
# Make the project folder
Dir.mkdir("New_Project")
# Navigate to the project folder
Dir.chdir("New_Project")
# Make the index.html file
File.new("index.html", "w+")
# Make the internal project folders
Dir.mkdir("css")
Dir.mkdir("img")
Dir.mkdir("js")
# Change to the CSS and make the reset and style files
Dir.chdir("css")
File.new("reset.css", "w+")
File.new("screen.css", "w+")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment