Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add a package task

  • Loading branch information...
commit 5cdf62c8b178e5973f5f7f94577acc26e57c1574 1 parent 450dc41
@jneen authored
Showing with 8 additions and 1 deletion.
  1. +3 −1 .gitignore
  2. +5 −0 Cakefile
View
4 .gitignore
@@ -1,11 +1,13 @@
-# build dir
+# build artifiacts
lib/*
+tnetstrings-*.tgz
# tmp
tmp/*
# node craziness
node_modules/*
+npm-debug.log
# env helper
.env
View
5 Cakefile
@@ -10,6 +10,11 @@ task 'minify', ->
task 'test', ->
run 'expresso test/*.test.coffee'
+task 'package', ->
+ invoke 'minify'
+ invoke 'test'
+ run 'npm pack .'
+
run = (args...) ->
for a in args
switch typeof a
Please sign in to comment.
Something went wrong with that request. Please try again.