cms/gulpfile.js
author nowmad@23.1.168.192.in-addr.arpa
Thu, 17 Dec 2015 12:15:22 +0100
changeset 67 e93ef2636e06
parent 14 10f67f0281e1
child 346 4cd0f8c936ed
permissions -rw-r--r--
take oof the inline style to put it in the scss
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     1
var gulp = require('gulp');
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     2
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     3
var buildFolder = 'app-client/dist';
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     4
var moduleFolder = 'corpus_module';
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     5
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     6
gulp.task('copy-module', function () {
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     7
  gulp.src(buildFolder+'/assets/**/*')
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     8
    .pipe(gulp.dest(moduleFolder+'/app-client/assets'));
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     9
  gulp.src(buildFolder+'/fonts/**/*')
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
    10
    .pipe(gulp.dest(moduleFolder+'/app-client/fonts'));
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
    11
  gulp.src(moduleFolder+'/**/*')
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
    12
    .pipe(gulp.dest('../../../drupal-7.41/modules/corpus'));
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
    13
});