cms/gulpfile.js
author ymh <ymh.work@gmail.com>
Wed, 24 Aug 2016 09:46:03 +0200
changeset 263 3deace9204de
parent 14 10f67f0281e1
child 346 4cd0f8c936ed
permissions -rw-r--r--
pass bo_client to ember 2.8, adjust for the hack around the aupac-typeahead bug in 2.8 (c.f. https://github.com/aupac/ember-aupac-typeahead/issues/23)

var gulp = require('gulp');

var buildFolder = 'app-client/dist';
var moduleFolder = 'corpus_module';

gulp.task('copy-module', function () {
  gulp.src(buildFolder+'/assets/**/*')
    .pipe(gulp.dest(moduleFolder+'/app-client/assets'));
  gulp.src(buildFolder+'/fonts/**/*')
    .pipe(gulp.dest(moduleFolder+'/app-client/fonts'));
  gulp.src(moduleFolder+'/**/*')
    .pipe(gulp.dest('../../../drupal-7.41/modules/corpus'));
});