Remove symlink

This commit is contained in:
Patrick Steele-Idem 2015-08-14 09:06:44 -06:00
parent 44b15a4179
commit c08bbe66b0
4 changed files with 17 additions and 6 deletions

View File

@ -12,10 +12,11 @@
"url": "https://github.com/marko-js/marko.git"
},
"scripts": {
"test": "node_modules/.bin/mocha --ui bdd --reporter spec ./test && node_modules/.bin/jshint compiler/ runtime/ taglibs/",
"test-fast": "node_modules/.bin/mocha --ui bdd --reporter spec ./test/render-test",
"test-async": "node_modules/.bin/mocha --ui bdd --reporter spec ./test/render-async-test",
"test-taglib-loader": "node_modules/.bin/mocha --ui bdd --reporter spec ./test/taglib-loader-test",
"init-tests": "./test/init-tests.sh",
"test": "npm run init-tests && node_modules/.bin/mocha --ui bdd --reporter spec ./test && node_modules/.bin/jshint compiler/ runtime/ taglibs/",
"test-fast": "npm run init-tests && node_modules/.bin/mocha --ui bdd --reporter spec ./test/render-test",
"test-async": "npm run init-tests && node_modules/.bin/mocha --ui bdd --reporter spec ./test/render-async-test",
"test-taglib-loader": "npm run init-tests && node_modules/.bin/mocha --ui bdd --reporter spec ./test/taglib-loader-test",
"jshint": "node_modules/.bin/jshint compiler/ runtime/ taglibs/"
},
"author": "Patrick Steele-Idem <pnidem@gmail.com>",

3
test/.gitignore vendored
View File

@ -2,4 +2,5 @@
*.marko.xml.js
*.actual.js
*.actual.html
actual.html
actual.html
/node_modules

10
test/init-tests.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
DIR=`dirname $0`
cd ${DIR}
if [ ! -L "./node_modules/marko" ]; then
mkdir -p node_modules
ln -s ../../ node_modules/marko
fi

1
test/node_modules/marko generated vendored
View File

@ -1 +0,0 @@
../../