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
|
||||
*.swp
|
||||
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:
|
||||
mkdir -p dist
|
||||
|
||||
test_dist_folder:
|
||||
mkdir -p test/dist
|
||||
|
||||
dist: dist_folder dist/torque.js
|
||||
|
||||
clean-results:
|
||||
@ -34,8 +37,8 @@ clean-results:
|
||||
add-header:
|
||||
node lib/header.js
|
||||
|
||||
prepare-test-suite:
|
||||
$(BROWSERIFY) test/suite.js > test/suite-bundle.js
|
||||
prepare-test-suite: test_dist_folder
|
||||
$(BROWSERIFY) test/suite.js > test/dist/suite-bundle.js
|
||||
|
||||
test: prepare-test-suite
|
||||
@echo "***tests***"
|
||||
|
@ -10,6 +10,6 @@
|
||||
<div id="qunit-fixture"></div>
|
||||
|
||||
<script src="../node_modules/leaflet/dist/leaflet.js"></script>
|
||||
<script src="./suite-bundle.js"></script>
|
||||
<script src="./dist/suite-bundle.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user