Created
December 22, 2010 23:06
-
-
Save nbashaw/752255 to your computer and use it in GitHub Desktop.
A little ruby script to start out new projects for me
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
# 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