diff options
author | Jose <jose@zeroc.com> | 2015-03-13 17:45:16 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2015-03-13 17:45:16 +0100 |
commit | 9f6a61b01c7303f9cfea156f610a2a2de63bc957 (patch) | |
tree | 0e29db27b12951ec8ffc2e93b40ae1152251234f | |
parent | minor update makeubunturepo.py (diff) | |
download | ice-9f6a61b01c7303f9cfea156f610a2a2de63bc957.tar.bz2 ice-9f6a61b01c7303f9cfea156f610a2a2de63bc957.tar.xz ice-9f6a61b01c7303f9cfea156f610a2a2de63bc957.zip |
Let non slice files pass-through gulp-slice2js
-rw-r--r-- | js/gulp/gulp-slice2js/index.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/js/gulp/gulp-slice2js/index.js b/js/gulp/gulp-slice2js/index.js index 0135f48fb95..e59964dca17 100644 --- a/js/gulp/gulp-slice2js/index.js +++ b/js/gulp/gulp-slice2js/index.js @@ -92,6 +92,15 @@ function isBuildRequired(inputFile, outputFile, dependFile) function compile(slice2js, file, args, cb) { + // + // Let non Slice files pass-through + // + if(path.extname(file.path) != ".ice") + { + cb(null, file); + return; + } + var p = slice2js(args.concat(defaultCompileArgs).concat([file.path])); var buffer = new Buffer(0); |