Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix output + src #24

Closed
wants to merge 1 commit into from
Closed

Conversation

smallnewer
Copy link

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

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants