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

Already on GitHub? Sign in to your account

grunt copy support? #49

Closed
patcoll opened this Issue Apr 2, 2013 · 3 comments

Comments

Projects
None yet
3 participants

patcoll commented Apr 2, 2013

I'm looking to copy some files from an arbitrary project folder into the "generated" and "dist" folders when either "lineman run" or "lineman build" are run, respectively. I'm not super familiar with grunt, so I think I need to include grunt-contrib-copy, configure it and use it, but I'm not sure where to start or what how to best integrate with lineman.

I don't need any "watch" process to handle detecting if files have changed at all in these custom folders, but it would be nice if that was easy to do.

Can someone comment on how to do such a workflow?

@ghost

ghost commented Apr 2, 2013

To get started, check how this project adds a custom third party task:

https://github.com/searls/lineman-ember-template

Specifically look at these three files:

package.json
Gruntfile.js
config/application.coffee

Member

jasonkarns commented Jun 5, 2013

Added some documentation around grunt tasks to the wiki.

patcoll commented Jun 5, 2013

Cheers. prependTasks and appendTasks are new features and are exactly what I was asking about when I asked this question. Lineman has really grown and I'm loving it. Great job.

@patcoll patcoll closed this Jun 5, 2013

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