Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

install task

  • Loading branch information...
commit 2a6a37bc39c9d50337e3201947ef1d8074fd1ec4 1 parent b13b449
@napcs authored
Showing with 10 additions and 2 deletions.
  1. +2 −1  README.rdoc
  2. +8 −1 Rakefile
View
3  README.rdoc
@@ -12,9 +12,10 @@ If you already have StaticMatic and HAML installed, just do this:
rake setup
-Otherwise, you can use this command:
+Otherwise, you can use these commands:
rake install
+ rake setup
which will set up the prerequisites and then create the project folder
View
9 Rakefile
@@ -12,8 +12,15 @@ FILES = {"960" => "http://github.com/nathansmith/960-Grid-System/raw/master/code
}
-desc "Create a new site"
+desc "Install prerequisites"
+task :install do
+ `gem install haml staticmatic --no-ri --no-rdoc`
+
+end
+
+
+desc "Create a new site"
task :setup do
puts "*** Creating site"
`staticmatic setup .`
Please sign in to comment.
Something went wrong with that request. Please try again.