From 5413f4cb82e52972e34eeda62644c4219845dd9f Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Thu, 10 Dec 2015 12:35:25 +0100 Subject: [PATCH] Moves suite-bundle.js to dist dir inside test folder --- .gitignore | 2 +- Makefile | 7 +++++-- test/suite.html | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 95a7f3c..2a821c6 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,4 @@ .DS_Store *.swp node_modules -test/suite-bundle.js +test/dist/suite-bundle.js diff --git a/Makefile b/Makefile index a427df3..d380929 100644 --- a/Makefile +++ b/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***" diff --git a/test/suite.html b/test/suite.html index 35993d0..e1506de 100644 --- a/test/suite.html +++ b/test/suite.html @@ -10,6 +10,6 @@
- +