[Pkg-javascript-commits] [node-lexical-scope] 54/83: using the preprocess field to get brfs

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 15 09:45:50 UTC 2017


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

rouca pushed a commit to branch master
in repository node-lexical-scope.

commit 028f1e65541da2130884ce35769f42dc80e44797
Author: James Halliday <mail at substack.net>
Date:   Wed Jun 5 15:49:27 2013 -0700

    using the preprocess field to get brfs
---
 package.json     | 3 ++-
 test/testling.sh | 4 ++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/package.json b/package.json
index c3fc724..c20f877 100644
--- a/package.json
+++ b/package.json
@@ -16,7 +16,8 @@
         "test": "tap test/*.js"
     },
     "testling" : {
-        "files" : "test/*.js",
+        "preprocess" : "./test/testling.sh",
+        "html" : "test/temp/test.html",
         "browsers" : [
             "ie/6", "ie/7", "ie/8", "ie/9", "ie/10",
             "chrome/20", "chrome/latest",
diff --git a/test/testling.sh b/test/testling.sh
new file mode 100755
index 0000000..a18b5ee
--- /dev/null
+++ b/test/testling.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+mkdir -p test/temp
+echo '<script src="bundle.js"></script>' > test/temp/test.html
+browserify -t brfs test/*.js -o test/temp/bundle.js

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



More information about the Pkg-javascript-commits mailing list