Skip to content

Commit

Permalink
simple packager
Browse files Browse the repository at this point in the history
  • Loading branch information
fjakobs committed Jan 31, 2011
1 parent 468df4c commit 7d65438
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
build:
mkdir -p build/theme
./Makefile.dryice.js

clean:
rm -rf build
rm -rf ace

ace.tgz: build
mkdir ace
cp -r build ace/src
cp Readme.md ace
cp LICENSE ace
tar cvfz ace-`./version.js`.tgz ace

dist: clean build ace.tgz
4 changes: 4 additions & 0 deletions version.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env node
var x;
eval("x= " + require("fs").readFileSync(__dirname + "/package.json"))
console.log(x.version)

0 comments on commit 7d65438

Please sign in to comment.