Skip to content

Commit 796a192

Browse files
committed
chore: remove copy task and folder
unnecessary duplication of resources in - src/main/frontend/copy - src/main/xar-resources/resources
1 parent 3dc39a7 commit 796a192

18 files changed

+0
-1884
lines changed

Gulpfile.js

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ var settings = {
1010
polyfills: false,
1111
styles: true,
1212
svgs: true,
13-
copy: true,
1413
vendor: true
1514
}
1615

@@ -34,12 +33,7 @@ var paths = {
3433
input: 'src/main/frontend/img/*.svg',
3534
output: 'target/generated-resources/frontend/xar-resources/resources/images/'
3635
},
37-
copy: {
38-
input: 'src/main/frontend/copy/**',
39-
output: 'target/generated-resources/frontend/xar-resources/resources/'
40-
},
4136
vendor: {
42-
input: 'node_modules/',
4337
output: 'target/generated-resources/frontend/xar-resources/resources/'
4438
},
4539
xml: {
@@ -295,20 +289,6 @@ var vendorFiles = function (done) {
295289
done()
296290
}
297291

298-
299-
// Copy static files into output folder
300-
var copyFiles = function (done) {
301-
// Make sure this feature is activated before running
302-
if (!settings.copy) return done()
303-
304-
// Copy static files
305-
src(paths.copy.input)
306-
.pipe(dest(paths.copy.output))
307-
308-
// Signal completion
309-
done()
310-
}
311-
312292
/**
313293
* Export Tasks
314294
*/
@@ -323,7 +303,6 @@ exports.default = series(
323303
lintScripts,
324304
buildStyles,
325305
buildSVGs,
326-
copyFiles,
327306
prettyXml
328307
)
329308
)
-26.1 KB
Binary file not shown.

src/main/frontend/copy/fonts/Quicksand_Book-webfont.svg

Lines changed: 0 additions & 149 deletions
This file was deleted.
-25.9 KB
Binary file not shown.
-16.9 KB
Binary file not shown.
-1.67 KB
Binary file not shown.
-1.67 KB
Binary file not shown.
-203 Bytes
Binary file not shown.
-82 Bytes
Binary file not shown.
-1.12 KB
Binary file not shown.

0 commit comments

Comments
 (0)