Skip to content

Instantly share code, notes, and snippets.

@meisl meisl/console-output
Last active Dec 11, 2015

Embed
What would you like to do?
root@OBRIAN /E/busterJS
$ ./setup_ramp-resources_pr2.sh
NODE_PATH=/E/busterJS/rr-pr2
Python 2.7.3
Cloning into ramp-resources...
remote: Counting objects: 1458, done.
remote: Compressing objects: 100% (612/612), done.
remote: Total 1458 (delta 966), reused 1309 (delta 817)
Receiving objects: 100% (1458/1458), 266.26 KiB | 180 KiB/s, done.
Resolving deltas: 100% (966/966), done.
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/multi-glob
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/lodash
npm http GET https://github.com/cujojs/when/tarball/1.3.0
npm http 304 https://registry.npmjs.org/multi-glob
npm http 304 https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/minimatch
npm http 200 https://github.com/cujojs/when/tarball/1.3.0
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/glob
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/sigmund
mime@1.2.8 node_modules\mime
when@1.3.0 node_modules\when
lodash@0.5.2 node_modules\lodash
minimatch@0.1.5 node_modules\minimatch
└── lru-cache@1.0.6
multi-glob@0.4.0 node_modules\multi-glob
├── async@0.1.22
└── glob@3.1.14 (inherits@1.0.0, graceful-fs@1.1.14, minimatch@0.2.9)
npm http GET https://registry.npmjs.org/buster
npm http 304 https://registry.npmjs.org/buster
npm http GET https://registry.npmjs.org/buster-core
npm http GET https://registry.npmjs.org/buster-evented-logger
npm http GET https://registry.npmjs.org/buster-assertions
npm http GET https://registry.npmjs.org/buster-format
npm http GET https://registry.npmjs.org/sinon
npm http GET https://registry.npmjs.org/buster-test
npm http GET https://registry.npmjs.org/buster-sinon
npm http GET https://registry.npmjs.org/buster-server-cli
npm http GET https://registry.npmjs.org/buster-autotest
npm http GET https://registry.npmjs.org/buster-test-cli
npm http GET https://registry.npmjs.org/buster-syntax
npm http GET https://registry.npmjs.org/buster-static
npm http GET https://github.com/cujojs/when/tarball/1.3.0
npm http 304 https://registry.npmjs.org/buster-evented-logger
npm http 304 https://registry.npmjs.org/buster-core
npm http 304 https://registry.npmjs.org/buster-assertions
npm http 304 https://registry.npmjs.org/sinon
npm http 304 https://registry.npmjs.org/buster-test
npm http 304 https://registry.npmjs.org/buster-format
npm http 304 https://registry.npmjs.org/buster-sinon
npm http 304 https://registry.npmjs.org/buster-server-cli
npm http 304 https://registry.npmjs.org/buster-autotest
npm http 200 https://github.com/cujojs/when/tarball/1.3.0
npm http 304 https://registry.npmjs.org/buster-test-cli
npm http 304 https://registry.npmjs.org/buster-syntax
npm http 304 https://registry.npmjs.org/buster-static
npm http GET https://registry.npmjs.org/buster-glob
npm http GET https://registry.npmjs.org/fs-watch-tree
npm http GET https://registry.npmjs.org/jsdom
npm http GET https://registry.npmjs.org/uglify-js
npm http GET https://registry.npmjs.org/ramp-resources
npm http GET https://registry.npmjs.org/buster-cli
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/ramp
npm http GET https://registry.npmjs.org/platform
npm http GET https://registry.npmjs.org/paperboy
npm http GET https://registry.npmjs.org/ejs
npm http GET https://registry.npmjs.org/buster-cli
npm http GET https://registry.npmjs.org/phantom
npm http GET https://registry.npmjs.org/buster-terminal
npm http GET https://github.com/cujojs/when/tarball/1.3.0
npm http 304 https://registry.npmjs.org/buster-glob
npm http 304 https://registry.npmjs.org/fs-watch-tree
npm http 304 https://registry.npmjs.org/ramp-resources
npm http 304 https://registry.npmjs.org/uglify-js
npm http 304 https://registry.npmjs.org/buster-cli
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/jsdom
npm http GET https://registry.npmjs.org/glob
npm http 304 https://registry.npmjs.org/ramp
npm http 304 https://registry.npmjs.org/platform
npm http 304 https://registry.npmjs.org/paperboy
npm http 304 https://registry.npmjs.org/ejs
npm http 304 https://registry.npmjs.org/buster-cli
npm http 304 https://registry.npmjs.org/phantom
npm http 304 https://registry.npmjs.org/buster-terminal
npm http 304 https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/posix-argv-parser
npm http GET https://registry.npmjs.org/buster-terminal
npm http GET https://registry.npmjs.org/stream-logger
npm http GET https://registry.npmjs.org/buster-configuration/0.5.2
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/dnode-protocol
npm http GET https://registry.npmjs.org/dnode
npm http GET https://registry.npmjs.org/express
npm http 200 https://github.com/cujojs/when/tarball/1.3.0
npm http GET https://registry.npmjs.org/bane
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/faye
npm http GET https://registry.npmjs.org/buster-glob
npm http GET https://registry.npmjs.org/cssstyle
npm http GET https://registry.npmjs.org/htmlparser
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/cssom
npm http GET https://registry.npmjs.org/contextify
npm http 304 https://registry.npmjs.org/buster-terminal
npm http 304 https://registry.npmjs.org/buster-configuration/0.5.2
npm http 304 https://registry.npmjs.org/posix-argv-parser
npm http 304 https://registry.npmjs.org/stream-logger
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/graceful-fs
npm http 304 https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/dnode-protocol
npm http 304 https://registry.npmjs.org/dnode
npm http 304 https://registry.npmjs.org/express
npm http 304 https://registry.npmjs.org/bane
npm http 304 https://registry.npmjs.org/node-uuid
npm http 304 https://registry.npmjs.org/faye
npm http 304 https://registry.npmjs.org/buster-glob
npm http 304 https://registry.npmjs.org/cssstyle
npm http 304 https://registry.npmjs.org/htmlparser
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/cssom
npm http 304 https://registry.npmjs.org/contextify
npm http GET https://registry.npmjs.org/sigmund
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/glob
npm http GET https://github.com/cujojs/when/tarball/1.3.0
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/ramp-resources/0.4.1
npm http GET https://registry.npmjs.org/traverse
npm http GET https://registry.npmjs.org/jsonify
npm http GET https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/commander/0.6.1
npm http GET https://registry.npmjs.org/mkdirp/0.3.3
npm http GET https://registry.npmjs.org/cookie/0.0.5
npm http GET https://registry.npmjs.org/fresh/0.1.0
npm http GET https://registry.npmjs.org/buffer-crc32/0.1.1
npm http GET https://registry.npmjs.org/send/0.1.0
npm http GET https://registry.npmjs.org/connect/2.7.2
npm http GET https://registry.npmjs.org/cookie-signature/0.0.1
npm http GET https://registry.npmjs.org/methods/0.0.1
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/range-parser/0.0.4
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/cssom
npm http GET https://registry.npmjs.org/cssstyle
npm http GET https://registry.npmjs.org/cookiejar
npm http GET https://registry.npmjs.org/faye-websocket
npm http GET https://registry.npmjs.org/htmlparser
npm http GET https://registry.npmjs.org/contextify
npm http GET https://github.com/substack/socket.io-client/tarball/master
npm http GET https://registry.npmjs.org/socket.io/0.8.6
npm http GET https://registry.npmjs.org/lazy
npm http GET https://registry.npmjs.org/dnode-protocol
npm http GET https://registry.npmjs.org/jsonify
npm http 304 https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/glob
npm http 304 https://registry.npmjs.org/ramp-resources/0.4.1
npm http 304 https://registry.npmjs.org/traverse
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/jsonify
npm http 304 https://registry.npmjs.org/glob
npm http 304 https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/commander/0.6.1
npm http 304 https://registry.npmjs.org/mkdirp/0.3.3
npm http 304 https://registry.npmjs.org/cookie/0.0.5
npm http 304 https://registry.npmjs.org/fresh/0.1.0
npm http 304 https://registry.npmjs.org/buffer-crc32/0.1.1
> contextify@0.1.3 install e:\busterJS\rr-pr2\ramp-resources\node_modules\buster\node_modules\buster-syntax\node_modules\jsdom\node_modules\contextify
> node-gyp rebuild
npm http 304 https://registry.npmjs.org/send/0.1.0
npm http 304 https://registry.npmjs.org/connect/2.7.2
e:\busterJS\rr-pr2\ramp-resources\node_modules\buster\node_modules\buster-syntax\node_modules\jsdom\node_modules\contextify>node "c:\Programme\nodejs\node_modules\npm\bin\node-gyp-
bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
npm http 304 https://registry.npmjs.org/cookie-signature/0.0.1
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/methods/0.0.1
npm http 304 https://registry.npmjs.org/debug
npm WARN package.json methods@0.0.1 No README.md file found!
npm http 304 https://registry.npmjs.org/range-parser/0.0.4
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/cssom
npm http 304 https://registry.npmjs.org/cookiejar
npm http 304 https://registry.npmjs.org/cssstyle
npm http 304 https://registry.npmjs.org/faye-websocket
npm http 304 https://registry.npmjs.org/htmlparser
npm http 304 https://registry.npmjs.org/contextify
npm http 304 https://registry.npmjs.org/socket.io/0.8.6
npm http 304 https://registry.npmjs.org/lazy
npm http 304 https://registry.npmjs.org/dnode-protocol
npm http 304 https://registry.npmjs.org/jsonify
npm http 304 https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/graceful-fs
npm http 304 https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/mime/1.2.6
npm http 200 https://github.com/substack/socket.io-client/tarball/master
npm http GET https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/mime/1.2.6
npm http 200 https://github.com/cujojs/when/tarball/1.3.0
e:\busterJS\rr-pr2\ramp-resources\node_modules\buster\node_modules\buster-syntax\node_modules\jsdom\node_modules\contextify\build\contextify.vcxproj(18,3): error MSB4019: Das impo
rtierte Projekt "e:\Microsoft.Cpp.Default.props" wurde nicht gefunden. Vergewissern Sie sich, dass der Pfad in der <Import>-Deklaration korrekt und die Datei auf dem Datenträger v
orhanden ist.
gyp ERR! build error
gyp ERR! stack Error: `C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (c:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:232:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System Windows_NT 5.1.2600
gyp ERR! command "node" "c:\\Programme\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd e:\busterJS\rr-pr2\ramp-resources\node_modules\buster\node_modules\buster-syntax\node_modules\jsdom\node_modules\contextify
gyp npm http 304 https://registry.npmjs.org/bindings
ERR! node -v v0.8.16
gyp ERR! node-gyp -v v0.7.3
gyp ERR! not ok
> contextify@0.1.3 install e:\busterJS\rr-pr2\ramp-resources\node_modules\buster\node_modules\buster-test\node_modules\jsdom\node_modules\contextify
> node-gyp rebuild
npm WARN optional dep failed, continuing contextify@0.1.3
e:\busterJS\rr-pr2\ramp-resources\node_modules\buster\node_modules\buster-test\node_modules\jsdom\node_modules\contextify>node "c:\Programme\nodejs\node_modules\npm\bin\node-gyp-bi
n\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/sigmund
npm http GET https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/qs/0.5.1
npm http GET https://registry.npmjs.org/bytes/0.1.0
npm http GET https://registry.npmjs.org/formidable/1.0.11
npm http GET https://registry.npmjs.org/pause/0.0.1
npm WARN excluding symbolic link lib\socket.io-client.js -> io.js
e:\busterJS\rr-pr2\ramp-resources\node_modules\buster\node_modules\buster-test\node_modules\jsdom\node_modules\contextify\build\contextify.vcxproj(18,3): error MSB4019: Das import
ierte Projekt "e:\Microsoft.Cpp.Default.props" wurde nicht gefunden. Vergewissern Sie sich, dass der Pfad in der <Import>-Deklaration korrekt und die Datei auf dem Datenträger vor
handen ist.
gyp ERR! build error
gyp ERR! stack Error: `C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (c:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:232:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System Windows_NT 5.1.2600
gyp ERR! command "node" "c:\\Programme\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd e:\busterJS\rr-pr2\ramp-resources\node_modules\buster\node_modules\buster-test\node_modules\jsdom\node_modules\contextify
gyp ERR! node -v v0.8.16
gyp ERR! node-gyp -v v0.7.3
gyp ERR! not ok
npm http GET https://github.com/cujojs/when/tarball/1.3.0
npm http GET https://registry.npmjs.org/buster-glob
npm http GET https://registry.npmjs.org/minimatch
npm WARN optional dep failed, continuing contextify@0.1.3
npm http 304 https://registry.npmjs.org/graceful-fs
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/pause/0.0.1
npm http 304 https://registry.npmjs.org/buster-glob
npm http 304 https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/qs/0.5.1
npm http 304 https://registry.npmjs.org/formidable/1.0.11
npm http 304 https://registry.npmjs.org/bytes/0.1.0
npm WARN excluding symbolic link support\test-runner\public\javascript\should.js -> ../../../should.js
npm http 200 https://github.com/cujojs/when/tarball/1.3.0
npm http GET https://registry.npmjs.org/buster-analyzer/0.4.0
npm http GET https://registry.npmjs.org/ramp
npm http GET https://registry.npmjs.org/ansi-grid
npm http GET https://registry.npmjs.org/ansi-colorizer
npm http GET https://registry.npmjs.org/buster-cli
npm http GET https://github.com/cujojs/when/tarball/1.3.0
npm http GET https://registry.npmjs.org/stack-filter
npm http GET https://registry.npmjs.org/bane
npm http GET https://registry.npmjs.org/ejs
npm http GET https://registry.npmjs.org/platform
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/traverse
npm http GET https://registry.npmjs.org/policyfile/0.0.4
npm http GET https://registry.npmjs.org/redis/0.6.7
npm http 304 https://registry.npmjs.org/ansi-grid
npm http 304 https://registry.npmjs.org/buster-cli
npm http 304 https://registry.npmjs.org/ramp
npm http 304 https://registry.npmjs.org/ansi-colorizer
npm http 304 https://registry.npmjs.org/buster-analyzer/0.4.0
npm http 200 https://github.com/cujojs/when/tarball/1.3.0
npm http 304 https://registry.npmjs.org/stack-filter
npm http 304 https://registry.npmjs.org/bane
npm http 304 https://registry.npmjs.org/ejs
npm http 304 https://registry.npmjs.org/platform
npm http 304 https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/traverse
npm http 304 https://registry.npmjs.org/policyfile/0.0.4
npm http 304 https://registry.npmjs.org/redis/0.6.7
npm http GET https://registry.npmjs.org/uglify-js/1.0.6
npm http GET https://registry.npmjs.org/websocket-client/1.0.0
npm http GET https://registry.npmjs.org/xmlhttprequest/1.2.2
npm http GET https://github.com/cujojs/when/tarball/1.3.0
npm http GET https://registry.npmjs.org/buster-terminal
npm http GET https://registry.npmjs.org/stream-logger
npm http GET https://registry.npmjs.org/posix-argv-parser
npm http GET https://registry.npmjs.org/buster-configuration/0.5.2
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/bane
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/faye
npm http 304 https://registry.npmjs.org/websocket-client/1.0.0
npm http 304 https://registry.npmjs.org/uglify-js/1.0.6
npm http 304 https://registry.npmjs.org/xmlhttprequest/1.2.2
npm http 304 https://registry.npmjs.org/posix-argv-parser
npm http 304 https://registry.npmjs.org/buster-configuration/0.5.2
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/bane
npm http 304 https://registry.npmjs.org/node-uuid
npm http 304 https://registry.npmjs.org/stream-logger
npm http 304 https://registry.npmjs.org/buster-terminal
npm http 304 https://registry.npmjs.org/faye
npm http GET https://registry.npmjs.org/sigmund
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/ramp-resources/0.4.1
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/glob
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/ramp-resources/0.4.1
npm http 200 https://github.com/cujojs/when/tarball/1.3.0
npm http GET https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/cookiejar
npm http GET https://registry.npmjs.org/faye-websocket
npm http GET https://registry.npmjs.org/buster-glob
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://github.com/cujojs/when/tarball/1.3.0
npm http 304 https://registry.npmjs.org/faye-websocket
npm http 304 https://registry.npmjs.org/graceful-fs
npm http 304 https://registry.npmjs.org/cookiejar
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/buster-glob
npm http 200 https://github.com/cujojs/when/tarball/1.3.0
npm http GET https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/lru-cache
buster@0.6.12 node_modules\buster
├── buster-sinon@0.6.0
├── buster-format@0.5.5
├── buster-assertions@0.10.3
├── buster-evented-logger@0.4.4
├── sinon@1.5.2
├── buster-core@0.6.4
├── buster-autotest@0.2.0 (fs-watch-tree@0.2.2, buster-glob@0.3.2)
├── buster-syntax@0.4.2 (uglify-js@1.2.6, jsdom@0.2.19)
├── buster-test@0.6.1 (buster-terminal@0.4.1, jsdom@0.2.19)
├── buster-static@0.5.1 (mkdirp@0.3.4, ramp-resources@0.4.1, buster-cli@0.5.2)
├── buster-server-cli@0.2.2 (platform@1.0.0, paperboy@0.0.5, ejs@0.4.3, ramp@0.6.0, buster-cli@0.5.2, phantom@0.3.5)
└── buster-test-cli@0.7.5 (ansi-colorizer@0.5.0, stack-filter@0.1.0, bane@0.2.0, ansi-grid@0.5.0, platform@1.0.0, ejs@0.4.3, lodash@0.8.2, buster-analyzer@0.4.0, ramp@0.6.0, buster
-cli@0.5.2)
Resource Set Test under Windows: .
1 test case, 1 test, 1 assertion, 0 failures, 0 errors, 0 timeouts
Finished in 0.012s
diff --git b/lib/resource-set.js a/lib/resource-set.js
index ae9d6a4..89b8526 100644
--- b/lib/resource-set.js
+++ a/lib/resource-set.js
@@ -205,10 +205,6 @@ exports.create = function (rootPath) {
* Returns a promise.
*/
addFileResource: function (path, rs) {
- if (path){
- //windows path-normalization workaround
- path = path.replace(/\\/g, '/')
- }
var d = deferredAdder();
fr.prepareResource(this.rootPath, path, rs || {}).then(
function (res) {
Apply this hunk to index and worktree [y,n,q,a,d,/,e,?]? y
Resource Set Test under Windows: F
Failure: Resource Set Test under Windows load/cache
[assert.defined] resource is not in set: Expected to be defined
at Object.ba.fail (e:\busterJS\rr-pr2\ramp-resources\node_modules\buster\node_modules\buster-assertions\lib\buster-assertions.js:257:25)
at Object.fail (e:\busterJS\rr-pr2\ramp-resources\node_modules\buster\node_modules\buster-assertions\lib\buster-assertions.js:124:12)
at Function.ba.(anonymous function).(anonymous function) [as defined] (e:\busterJS\rr-pr2\ramp-resources\node_modules\buster\node_modules\buster-assertions\lib\buster-assertion
s.js:58:29)
at buster.testCase.load/cache (e:\busterJS\rr-pr2\ramp-resources\test\resource-load\test-explicit.js:9:11)
at Object.p.then (e:\busterJS\rr-pr2\ramp-resources\node_modules\when\when.js:71:31)
at _then (e:\busterJS\rr-pr2\ramp-resources\node_modules\when\when.js:154:13)
at complete (e:\busterJS\rr-pr2\ramp-resources\node_modules\when\when.js:257:5)
at resolve (e:\busterJS\rr-pr2\ramp-resources\node_modules\when\when.js:189:4)
at Object.p.then (e:\busterJS\rr-pr2\ramp-resources\node_modules\when\when.js:71:31)
at _then (e:\busterJS\rr-pr2\ramp-resources\node_modules\when\when.js:154:13)
1 test case, 1 test, 1 assertion, 1 failure, 0 errors, 0 timeouts
Finished in 0.046s
#!/bin/sh
DEVDIR=rr-pr2
mkdir $DEVDIR; cd $DEVDIR
NODE_PATH_OLD=$NODE_PATH:$NODE_PATH_OLD; NODE_PATH=`pwd`; echo NODE_PATH=$NODE_PATH
PATH=/C/Python27:$PATH
python --version
git clone -o tenbits https://github.com/tenbits/ramp-resources.git
cd ramp-resources
git remote add busterjs https://github.com/busterjs/ramp-resources.git
git remote add meisl git@github.com:meisl/ramp-resources.git
git config --path remote.meisl.puttykeyfile "$USERPROFILE\\.ssh\\id_rsa.ppk"
npm install mime@~1 multi-glob@~0.4.0 when@https://github.com/cujojs/when/tarball/1.3.0 minimatch@~0.1.5 lodash@~0.5
npm install buster
cd test/resource-load
explicit.bat
git checkout -p 1bef274083e96c0c2ff868b4815d6cb9a1856759 ../../lib/resource-set.js
explicit.bat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.