mirror of
https://github.com/2ec0b4/kaamelott-soundboard.git
synced 2025-12-08 15:43:24 +00:00
(master) Modifie une dépendance Gulp
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -5,3 +5,4 @@ node_modules
|
|||||||
*.swp
|
*.swp
|
||||||
.DS_STORE
|
.DS_STORE
|
||||||
.idea/
|
.idea/
|
||||||
|
package-lock.json
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ services:
|
|||||||
base:
|
base:
|
||||||
image: ks-base
|
image: ks-base
|
||||||
volumes:
|
volumes:
|
||||||
- .:/usr/src/service/
|
- .:/app/
|
||||||
working_dir: /usr/src/service/
|
working_dir: /app/
|
||||||
install:
|
install:
|
||||||
extends:
|
extends:
|
||||||
service: base
|
service: base
|
||||||
|
|||||||
@@ -96,9 +96,12 @@ gulp.task('clean', function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('sync', function() {
|
gulp.task('sync', function() {
|
||||||
syncy(['.htaccess', './bower_components/**', './css/**', './favicons/**', './img/**', './js/**', '*.html', 'manifest.json', 'robots.txt', './sounds/**'], 'dist', {
|
syncy(['@(.htaccess)', 'bower_components/**', 'css/**', 'favicons/**', 'img/**', 'js/**', '*.html', '@(manifest.json)', '@(robots.txt)', 'sounds/**'], 'dist', {
|
||||||
updateAndDelete: true,
|
updateAndDelete: true
|
||||||
}).on('error', console.error).end();
|
}).then(() => {
|
||||||
|
console.log('Synchronized!');
|
||||||
|
})
|
||||||
|
.catch(console.error);
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task("init", function(){
|
gulp.task("init", function(){
|
||||||
|
|||||||
@@ -30,6 +30,6 @@
|
|||||||
"gulp-rev-replace": "^0.4.3",
|
"gulp-rev-replace": "^0.4.3",
|
||||||
"gulp-uglify": "^1.5.3",
|
"gulp-uglify": "^1.5.3",
|
||||||
"run-sequence": "^1.2.1",
|
"run-sequence": "^1.2.1",
|
||||||
"syncy": "^1.0.2"
|
"syncy": "^3.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user