cms/gulpfile.js
author ymh <ymh.work@gmail.com>
Thu, 25 Feb 2016 10:20:01 +0100
changeset 130 fac22d8c2df8
parent 14 10f67f0281e1
child 346 4cd0f8c936ed
permissions -rw-r--r--
add subjects to model + simple display on bo + add command to downloads documents to fixtures for test

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'));
});