Browse Source

Rakefile : add `zip` for zipping up _site

pull/14/head
David DeSandro 14 years ago
parent
commit
11ce5113c5
  1. 3
      .gitignore
  2. 12
      Rakefile

3
.gitignore vendored

@ -1 +1,2 @@
_site
_site
isotope-site.zip

12
Rakefile

@ -20,4 +20,16 @@ task :min do
f.write min
end
end
end
desc "Zips _site/ into isotope-site.zip"
task :zip do
# makes isotope-site/ directory
sh 'mkdir isotope-site;'
# copies _site/
sh 'cp -r _site/ isotope-site;'
# zips isotope-site/
sh 'zip -r isotope-site isotope-site/;'
# removes isotope-site/
sh 'rm -rf isotope-site;'
end
Loading…
Cancel
Save