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

Use load-grunt-tasks to separate out separate tasks. #10

Open
shazahm1 opened this issue Mar 15, 2015 · 2 comments
Open

Use load-grunt-tasks to separate out separate tasks. #10

shazahm1 opened this issue Mar 15, 2015 · 2 comments
Assignees

Comments

@shazahm1
Copy link

Suggestion... use https://github.com/sindresorhus/load-grunt-tasks and move tasks into separate smaller/focused files.

Example from another project. Gruntfile.js only contains the config vars for paths and such.
https://github.com/archetyped/simple-lightbox/blob/master/Gruntfile.js

The individual tasks are in separate files in the grunt folder:
https://github.com/archetyped/simple-lightbox/tree/master/grunt

@fxbenard
Copy link
Member

fxbenard commented Apr 4, 2015

@shazahm1 @grappler check it out https://github.com/WP-Translations/grunt-transifex-wordpress/tree/dev
Inspired by both of you with a twist of me ;)

@shazahm1
Copy link
Author

shazahm1 commented Apr 6, 2015

@fxbenard I like it!

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

No branches or pull requests

2 participants