Moves suite-bundle.js to dist dir inside test folder
This commit is contained in:
parent
10d65267e6
commit
5413f4cb82
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,4 +2,4 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
*.swp
|
*.swp
|
||||||
node_modules
|
node_modules
|
||||||
test/suite-bundle.js
|
test/dist/suite-bundle.js
|
||||||
|
7
Makefile
7
Makefile
@ -26,6 +26,9 @@ dist/torque.js: dist_folder dist/torque.uncompressed.js
|
|||||||
dist_folder:
|
dist_folder:
|
||||||
mkdir -p dist
|
mkdir -p dist
|
||||||
|
|
||||||
|
test_dist_folder:
|
||||||
|
mkdir -p test/dist
|
||||||
|
|
||||||
dist: dist_folder dist/torque.js
|
dist: dist_folder dist/torque.js
|
||||||
|
|
||||||
clean-results:
|
clean-results:
|
||||||
@ -34,8 +37,8 @@ clean-results:
|
|||||||
add-header:
|
add-header:
|
||||||
node lib/header.js
|
node lib/header.js
|
||||||
|
|
||||||
prepare-test-suite:
|
prepare-test-suite: test_dist_folder
|
||||||
$(BROWSERIFY) test/suite.js > test/suite-bundle.js
|
$(BROWSERIFY) test/suite.js > test/dist/suite-bundle.js
|
||||||
|
|
||||||
test: prepare-test-suite
|
test: prepare-test-suite
|
||||||
@echo "***tests***"
|
@echo "***tests***"
|
||||||
|
@ -10,6 +10,6 @@
|
|||||||
<div id="qunit-fixture"></div>
|
<div id="qunit-fixture"></div>
|
||||||
|
|
||||||
<script src="../node_modules/leaflet/dist/leaflet.js"></script>
|
<script src="../node_modules/leaflet/dist/leaflet.js"></script>
|
||||||
<script src="./suite-bundle.js"></script>
|
<script src="./dist/suite-bundle.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user