@samitouri / QOS-React-2 / commits / 83029eb756
Fork 0

The library for web and native user interfaces.

Make the bin/jsx source and output directories configurable.

Ben Newman committed May 28, 2013 at 15:57 UTC 83029eb75600e306696bc5bf03c6d899fa3c10f8
2 files changed +11 -5
grunt/config/jsx/jsx.js
+9 -3
@@ -6,7 +6,9 @@ var rootIDs = [
6
7 var debug = {
8 rootIDs: rootIDs,
9 - configFile: "grunt/config/jsx/debug.json"
9 + configFile: "grunt/config/jsx/debug.json",
10 + sourceDir: "src",
11 + outputDir: "build/modules"
12 };
13
14 var test = {
@@ -14,12 +16,16 @@ var test = {
16 "test/all.js",
17 "**/__tests__/*.js"
18 ]),
17 - configFile: debug.configFile
19 + configFile: debug.configFile,
20 + sourceDir: "src",
21 + outputDir: "build/modules"
22 };
23
24 var release = {
25 rootIDs: rootIDs,
22 - configFile: "grunt/config/jsx/release.json"
26 + configFile: "grunt/config/jsx/release.json",
27 + sourceDir: "src",
28 + outputDir: "build/modules"
29 };
30
31 module.exports = {
grunt/tasks/jsx.js
+2 -2
@@ -9,8 +9,8 @@ module.exports = function() {
9
10 var args = [
11 "bin/jsx",
12 - "src",
13 - "build/modules"
12 + config.sourceDir,
13 + config.outputDir
14 ];
15
16 var rootIDs = expand({