alanshaw / grunt-include-replace

Grunt task to include files and replace variables. Allows for parameterised includes.
MIT License
200 stars 45 forks source link

fix output + src #24

Closed smallnewer closed 10 years ago

smallnewer commented 10 years ago

{output:"output/“,src:"html/.html”}==>desc=="output/html/.html".it is that what is not hoping the right result is : "output/*.html"

alanshaw commented 10 years ago

I can't merge this as it causes the tests to fail.

I think you can achieve what you want using a config section like:

grunt.initConfig({
  includereplace: {
        dist: {
            src: '*.html',
            dest: 'output/',
            expand: true,
            cwd: 'html/'
        }
    }
})

See http://gruntjs.com/configuring-tasks#building-the-files-object-dynamically for more info