make it possible to package widget
This commit is contained in:
parent
65f3406c2e
commit
4e57d8de2b
|
@ -1,3 +1,4 @@
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.sass-cache/
|
.sass-cache/
|
||||||
CoffeeScript.wdgt/
|
CoffeeScript.wdgt/
|
||||||
|
pkg/
|
||||||
|
|
6
Rakefile
6
Rakefile
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue