[Pkg-javascript-commits] [node-browser-pack] 08/141: travis, badges

Bastien Roucariès rouca at moszumanska.debian.org
Thu May 4 10:23:20 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-browser-pack.

commit c71747b2528bf0b12d330b788b5451ed67919270
Author: James Halliday <mail at substack.net>
Date:   Mon Feb 11 00:45:46 2013 -0800

    travis, badges
---
 .travis.yml     | 4 ++++
 readme.markdown | 8 ++++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..09d3ef3
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,4 @@
+language: node_js
+node_js:
+  - 0.8
+  - 0.10
diff --git a/readme.markdown b/readme.markdown
index 8700292..482292e 100644
--- a/readme.markdown
+++ b/readme.markdown
@@ -1,7 +1,11 @@
-# browser-bundle
+# browser-pack
 
 pack node-style source files from a json stream into a browser bundle
 
+[![browser support](http://ci.testling.com/substack/browser-pack.png)](http://ci.testling.com/substack/browser-pack)
+
+[![build status](https://secure.travis-ci.org/substack/browser-pack.png)](http://travis-ci.org/substack/browser-pack)
+
 # example
 
 json input:
@@ -33,7 +37,7 @@ process.stdin.resume();
 output:
 
 ```
-$ browser-bundle < input.json
+$ browser-pack < input.json
 (function(p,c,e){function r(n){if(!c[n]){c[n]={exports:{}};p[n][0](function(x){return r(p[n][1][x])},c[n],c[n].exports);}return c[n].exports}for(var i=0;i<e.length;i++)r(e[i]);return r})({"a1b5af78":[function(require,module,exports){console.log(require('./foo')(5))},{"./foo":"b8f69fa5"}],"b8f69fa5":[function(require,module,exports){module.exports = function (n) { return n * 111 }},{}]},{},["a1b5af78","b8f69fa5"])
 ```
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-browser-pack.git



More information about the Pkg-javascript-commits mailing list