Browse files

package task

  • Loading branch information...
1 parent 76bc9ae commit 0206ecb3d0576e53004e58e9f40efc0e8f0e2986 @jaz303 jaz303 committed Dec 21, 2009
Showing with 11 additions and 2 deletions.
  1. +1 −0 .gitignore
  2. +10 −2 Rakefile
View
1 .gitignore
@@ -1 +1,2 @@
.DS_Store
+pkg
View
12 Rakefile
@@ -1,7 +1,15 @@
PROJECT_VERSION="0.1.2"
-task :package do
-
+task :clean do
+ `rm -rf pkg`
+end
+
+task :package => :clean do
+ `mkdir pkg`
+ `cd docs && project-kit build src build`
+ `mv docs/build pkg/docs`
+ `cp -R src pkg/www`
+ `cp LICENSE README pkg`
end
task :copy_assets do

0 comments on commit 0206ecb

Please sign in to comment.