Skip to content

Commit f1bb326

Browse files
committed
Update paths to new src folder position, Update node image to stick to the github declaration
1 parent be34966 commit f1bb326

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22

33
node_modules
44

5-
web/site
6-
web/styleguide
5+
# Generated folders by gulp compilation
6+
site
7+
styleguide

.gitlab/ci/images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
################################################################################
77

88
.node_image:
9-
image: node:10-alpine
9+
image: node:12-alpine

gulpfile.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ const
4848
|--------------------------------------------------------------------------
4949
*/
5050
const target = {
51-
'src': './web/src/',
52-
'buildSite': './web/site/',
53-
'buildStyleguide': './web/styleguide/',
51+
'src': './src/',
52+
'buildSite': './site/',
53+
'buildStyleguide': './styleguide/',
5454
};
5555
// File paths
5656
const files = {
@@ -309,7 +309,7 @@ function assets(){
309309
target.src + 'img/logo-ANS-footer.svg',
310310
target.src + 'img/logo-ANS.svg',
311311
target.src + 'img/logo-ministere.svg',
312-
], {base: 'web/src/img'}) // defines a base to keep folder structure: https://stackoverflow.com/questions/35845039/how-base-option-affects-gulp-src-gulp-dest/35848322#35848322
312+
], {base: 'src/img'}) // defines a base to keep folder structure: https://stackoverflow.com/questions/35845039/how-base-option-affects-gulp-src-gulp-dest/35848322#35848322
313313
.pipe(dest(target.buildSite + 'img'));
314314

315315
const assetsImgStyleguide = src(files.imgToWatch)

0 commit comments

Comments
 (0)