client/gulpfile.js
changeset 117 41a78460bdac
parent 114 e4ffc4e13a8e
child 135 27065f8a19d3
child 147 89f19425c580
equal deleted inserted replaced
116:6803d581ff19 117:41a78460bdac
     2 var gutil = require('gulp-util')
     2 var gutil = require('gulp-util')
     3 var plugins = require("gulp-load-plugins")({lazy:false});
     3 var plugins = require("gulp-load-plugins")({lazy:false});
     4 var mainBowerFiles = require('main-bower-files');
     4 var mainBowerFiles = require('main-bower-files');
     5 var htmlreplace = require('gulp-html-replace');
     5 var htmlreplace = require('gulp-html-replace');
     6 
     6 
     7 var templateFolder = './../server/ammico';
     7 var templateFolder = './../server/src/ammico';
     8 var staticFolder = './../server/ammico/static/ammico';
     8 var staticFolder = './../server/src/ammico/static/ammico';
     9 var buildFolder = './build';
     9 var buildFolder = './build';
    10 
    10 
    11 var scriptsSrc = ['!./app/**/*_test.js','./app/**/*.js'];
    11 var scriptsSrc = ['!./app/**/*_test.js','./app/**/*.js'];
    12 
    12 
    13 gulp.task('templates',function(){
    13 gulp.task('templates',function(){
   166             },
   166             },
   167             token: '{% if token %} token: "{{ token }}", {% endif %}'
   167             token: '{% if token %} token: "{{ token }}", {% endif %}'
   168         }))
   168         }))
   169     .pipe(gulp.dest(templateFolder+'/templates'));
   169     .pipe(gulp.dest(templateFolder+'/templates'));
   170 });
   170 });
   171