Skip to content

Conversation

antizealot1337
Copy link
Contributor

This PR changes nimble build to pass along extra command line arguments to the compiler as mentioned in #334. Please let me know if there's anything I can change to make it better.

@Araq
Copy link
Member

Araq commented Apr 27, 2017

Didn't review the implementation, but this feature is important.

@antizealot1337
Copy link
Contributor Author

The second commit is labelled wrong. It should read "Removed excess releaseOpt variable since args are passed in" or something similar. I've never made a pull request before so I'm not sure how to fix it. Would git commit --amend && git push -f screw it up?

addRevDep(options, i, pkginfo)

proc buildFromDir(pkgInfo: PackageInfo, paths: seq[string], forRelease: bool) =
proc buildFromDir(pkgInfo: PackageInfo, paths: seq[string], args: var string) =
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer if this took seq[string]

@dom96 dom96 merged commit 30d6aaf into nim-lang:master May 5, 2017
@dom96
Copy link
Collaborator

dom96 commented May 5, 2017

But i'll merge anyway.

@dom96
Copy link
Collaborator

dom96 commented May 5, 2017

Thanks for the PR!

@antizealot1337
Copy link
Contributor Author

Thanks for the merge :). I agree that the var string should be var seq[string]. At first I thought the method would be fine with a string and didn't change it when it was apparent it wouldn't work like that. I'll send a pull request that changes to seq[string]. I think it is a superior implementation.

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