Updated gulpfile. Updated shared.

This commit is contained in:
chris062689@gmail.com 2018-10-16 20:38:50 -04:00
parent 920f09d48a
commit 1d5e9f3200
3 changed files with 9 additions and 3 deletions

View file

@ -22,7 +22,7 @@ gulp.task('default', ['start:setup'], callback => {
});
gulp.task('all', ['start:setup'], callback => {
runSequence(['scripts:twitter', 'scripts:wiki'],
runSequence(['scripts:compatdb', 'scripts:twitter', 'scripts:wiki'],
['assets:js', 'assets:scss'],
'hugo',
'assets:images',
@ -50,6 +50,12 @@ gulp.task('start:setup', () => {
util.log(`process.env.HUGO_BASEURL = '${process.env.HUGO_BASEURL}'`);
});
gulp.task('scripts:compatdb', callback => {
exec(`cd ./scripts/shared-hugo-scripts/compatdb/ && yarn install && node app.js`, (err, stdout, stderr) => {
callback(err);
});
});
gulp.task('scripts:twitter', callback => {
exec(`cd ./scripts/shared-hugo-scripts/twitter/ && yarn install && node app.js`, (err, stdout, stderr) => {
callback(err);

@ -1 +1 @@
Subproject commit e79362680320bfc56153d1fb119551161939a4d4
Subproject commit 4c513ca8c9dee1b788a85c8771a9437a48e9691b

@ -1 +1 @@
Subproject commit b727987180adce62aee99901e94a3e4e3ffebfc2
Subproject commit 90e0694c066b91fdbbe6a50e3ea432c9b123d464