Skip to content

Fixed #19 and improved work with multiple files#21

Open
afitiskin wants to merge 2 commits intoehynds:masterfrom
afitiskin:master
Open

Fixed #19 and improved work with multiple files#21
afitiskin wants to merge 2 commits intoehynds:masterfrom
afitiskin:master

Conversation

@afitiskin
Copy link

Now we can use one task for multiple css file, for example:

dist: {
  cwd: 'app/assets/styles',
  src: [ "*.css" ],
  dest: "dist/assets/styles/",
}

All css files from app/assets/styles will processed and saved to dist/assets/styles directory.

PS. Sorry for my bad english, I'm non-native speaker, feel free to correct me :)

If `dest` param is a directory — each input file will be saved into separate file in `dest` directory (with same name). Add `cwd` param to add base path for input files.
…r "File not found" when `deleteAfterEncoding` is `true` and one file is used in different css.
@ehynds
Copy link
Owner

ehynds commented Aug 12, 2013

Hey, thanks for this. Can you add unit tests?

@afitiskin
Copy link
Author

Of course, but I did not found any tests for grunt task. 95% of my changes is in grunt-image-embed.js, but there are no test cases for this files in test directory. May you help me to add the test cases?

@wclr
Copy link

wclr commented Feb 11, 2014

why not merged?

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.

3 participants