N
N
Nikita2014-11-11 16:35:37
css
Nikita, 2014-11-11 16:35:37

Configuring grunt to transfer files unchanged?

I am doing a project, there are separate fonts ready, in all the necessary formats. Those. You don't need to convert or do anything else with them. I'm using grunt to compile the Jade template, compile the CSS, and build it all file by file. Grunt takes the sources in the SRC folder and puts the finished one in the BUILD folder.
For myself, I just put the fonts in the build folder and that's it. But I can’t store the build folder in the repository, but hand over the fonts to other developers and say put it here like it’s not ice, it needs to be automated.
What to add to the gruntfile so that the fonts would not be transferred by hand from the SRC folder to BULID, but did he do it himself?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2014-11-11
Protko @Fesor

grunt-copy
ps I advise you to throw out grunt and replace it with gulp.

A
Alex, 2014-11-11
@isqua

https://github.com/gruntjs/grunt-contrib-copy won't work for you?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question