Create a StaticMatic site with 960.gs

Tagged with Ruby

Language: Ruby

View as text

site = ARGV[0]
raise "Fail." if site.nil? || site == ""
`staticmatic setup #{site}`
Dir.chdir(site)
`wget http://960.gs/files/960_download.zip`
`unzip 960_download.zip`
`rm 960_download.zip`
`mv 960_download/code/css/*.css site/stylesheets`
`rm -rf 960_download`

Original snippet written by Brian Hogan
Last updated at 18:12 PM on Sep 09, 2009 by Brian Hogan

SnippetStash costs money to host and develop. The service is free for everyone to use
but if you found it useful please consider making a small donation.