Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit a610bc4

Browse files
author
Brian Muenzenmeyer
committed
Merge pull request #1 from simonknittel/dev
Added favicon.ico copying task
2 parents 2faae13 + 91e3126 commit a610bc4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Gruntfile.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ module.exports = function (grunt) {
1616
{ expand: true, cwd: path.resolve(paths().source.css), src: '*.css', dest: path.resolve(paths().public.css) },
1717
{ expand: true, cwd: path.resolve(paths().source.images), src: ['**/*.png', '**/*.jpg', '**/*.gif', '**/*.jpeg'], dest: path.resolve(paths().public.images) },
1818
{ expand: true, cwd: path.resolve(paths().source.fonts), src: '*', dest: path.resolve(paths().public.fonts) },
19-
{ expand: true, cwd: path.resolve(paths().source.data), src: 'annotations.js', dest: path.resolve(paths().public.data) }
19+
{ expand: true, cwd: path.resolve(paths().source.data), src: 'annotations.js', dest: path.resolve(paths().public.data) },
20+
{ expand: true, cwd: path.resolve(paths().source.root), src: 'favicon.ico', dest: path.resolve(paths().public.root) }
2021
]
2122
},
2223
styleguide: {
@@ -34,7 +35,8 @@ module.exports = function (grunt) {
3435
path.resolve(paths().source.fonts + '/*'),
3536
path.resolve(paths().source.images + '/*'),
3637
path.resolve(paths().source.data + '*.json'),
37-
path.resolve(paths().source.js + '/*.js')
38+
path.resolve(paths().source.js + '/*.js'),
39+
path.resolve(paths().source.root + '/*.ico')
3840
],
3941
tasks: ['default', 'bsReload:css']
4042
}

0 commit comments

Comments
 (0)