author | Chloe Laisne <chloe.laisne@gmail.com> |
Fri, 05 Aug 2016 14:55:45 +0200 | |
changeset 251 | ac320de33ec7 |
parent 14 | 10f67f0281e1 |
child 346 | 4cd0f8c936ed |
permissions | -rw-r--r-- |
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 |
}); |