Permalink
Browse files

simple packager

  • Loading branch information...
1 parent 468df4c commit 7d65438a473fe46ead081bc198afa426db97539d @fjakobs fjakobs committed Jan 31, 2011
Showing with 20 additions and 0 deletions.
  1. +16 −0 Makefile
  2. +4 −0 version.js
View
@@ -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
View
@@ -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.