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

Add support to different service #16

Merged
merged 1 commit into from
May 26, 2013
Merged

Add support to different service #16

merged 1 commit into from
May 26, 2013

Conversation

thiagofesta
Copy link
Contributor

In some cases we should be allowed to use a different service, another webservice.

@heldr
Copy link
Owner

heldr commented May 26, 2013

Nice commit! I won't write this on the docs yet because it works better as a grunt option object. I'm going to change it for the next release, that will be based on grunt-init gruntplugin.

Example:

smushit: {
    destination:{
        options : {
            service: 'http://test.com'
        },
        files: {
            src:'tests/img',
            dest:'tests/opt_img'
        }
    }
}

heldr added a commit that referenced this pull request May 26, 2013
Add support to different service
@heldr heldr merged commit 20e565e into heldr:master May 26, 2013
heldr added a commit that referenced this pull request May 26, 2013
@heldr
Copy link
Owner

heldr commented May 26, 2013

BTW, thanks for the contribution!

@heldr heldr mentioned this pull request May 26, 2013
@thiagofesta
Copy link
Contributor Author

Awesome @heldr. Thank you for this task.

@heldr
Copy link
Owner

heldr commented Jun 16, 2013

@thiagofesta grunt-smushit 1.0 released, now it's an option.

grunt.initConfig({
  smushit: {
    options: {
      service: 'http://myimgopt.com/exec'
    },
    mygroup: {
      src: ['tests/img/**/*.png','tests/img/**/*.jpg'],
      dest: 'tests/img/min'
    }
  }
});

@thiagofesta
Copy link
Contributor Author

@heldr awesome! thanks, i am going to update it

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