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 rake tasks for files added to spec.files by a cross_compile block #100

Merged
merged 1 commit into from
Jan 3, 2015

Conversation

sodabrew
Copy link
Contributor

Resolves #98. Note that this code duplicates a block of code in define_compile_tasks. I could split it out to a private separate method.

@kou
Copy link
Member

kou commented Dec 31, 2014

Thanks for your pull request!
Could you show command lines that can confirm your pull request solves #98?

@sodabrew
Copy link
Contributor Author

I am working on an updated commit with unit tests soon.

@sodabrew
Copy link
Contributor Author

sodabrew commented Jan 1, 2015

Factored out a helper method, added a unit test, here's an example where I need this functionality: https://github.com/brianmario/mysql2/blob/master/tasks/compile.rake#L30

kou added a commit that referenced this pull request Jan 3, 2015
Add rake tasks for files added to spec.files by a cross_compile block

Patch by Aaron Stone. Thanks!!!
@kou kou merged commit 7fdb878 into rake-compiler:master Jan 3, 2015
@kou
Copy link
Member

kou commented Jan 3, 2015

Thanks for adding a test!
I've merged it.

@sodabrew
Copy link
Contributor Author

sodabrew commented Jan 6, 2015

Thank you! Works great with rake-compiler 0.9.5!

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.

Cannot add targets to spec.files after Rake initializes
2 participants