Skip to content

update compile --build-path to support both relative and absolute flags #632

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

Closed
wants to merge 1 commit into from

Conversation

vinay-lanka
Copy link
Contributor

Small change in compile.go to allow people to use either relative or absolute paths
A person would use relative paths assuming he wants it in the same directory as that of the sketch, allowing us to use the sketch path.

Can fix #630

@rsora
Copy link
Contributor

rsora commented Mar 26, 2020

@vinay-lanka thanks for submitting this PR!
I think that this fix should be placed at a lower level( commands/compile/compile.go).

Can you please also add a couple of tests (including the one in the issue #630) in order to ease the review process?

As a side note, can you please rebase your code on master?

@vinay-lanka vinay-lanka force-pushed the compile-build-flags branch from 91579ab to 708459e Compare March 26, 2020 19:21
update compile --build-path for both relative and absolute flags

- Shifted fix from cli/compile/compile.go to command/compile/compile.go
- Added tests for checking compile --build-path
@vinay-lanka vinay-lanka force-pushed the compile-build-flags branch from 708459e to 31864fc Compare March 26, 2020 19:32
@vinay-lanka
Copy link
Contributor Author

vinay-lanka commented Mar 26, 2020

Hey,
I placed the change at a lower level in command/compile/compile go and wrote tests according to #630
Any idea why the windows ci test is failing? My local integration tests ran fine.

(Also sorry for the messy intermediate commit history, it's cleared now)

@vinay-lanka
Copy link
Contributor Author

Should I skip the windows CI test on this? I do not understand why the assertion error is like that.

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.

"compile --build-path" does not work for relative paths
2 participants