make it possible to package widget

This commit is contained in:
John Bintz 2011-07-20 17:39:29 -04:00
parent 65f3406c2e
commit 4e57d8de2b
3 changed files with 8 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
.DS_Store .DS_Store
.sass-cache/ .sass-cache/
CoffeeScript.wdgt/ CoffeeScript.wdgt/
pkg/

View File

@ -11,3 +11,9 @@ task :build do
cp CoffeeScript::Source.bundled_path, 'CoffeeScript.wdgt' cp CoffeeScript::Source.bundled_path, 'CoffeeScript.wdgt'
end end
desc 'build a release widget'
task :release => :build do
mkdir_p 'pkg'
system %{tar jcvf pkg/CoffeeScript-#{File.read('VERSION').strip}.tar.bz2 CoffeeScript.wdgt}
end

View File

@ -0,0 +1 @@
0.0.1