Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Add skip-compile option to push options #214

Merged
merged 2 commits into from
Oct 11, 2018

Conversation

jbcarpanelli
Copy link
Contributor

Related to #67, this PR doesn't fix it though, as there is nothing to fix, but adds the skip-compile option to the withPushOptions function, to have the posibility to whether run truffle compile or not.

@@ -16,6 +16,7 @@ program.Command.prototype.withNetworkOptions = function () {
program.Command.prototype.withPushOptions = function () {
return this
.option('--push [network]', 'push all changes to the specified network')
.option('--skip-compile', 'skips contract compilation')
Copy link
Contributor

Choose a reason for hiding this comment

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

Note that add already has a skip-compile option, and adding it here as well caused the option to be listed twice on add --help. We should remove it from the add command.

@jbcarpanelli jbcarpanelli added status:ready-to-merge Order mergify to merge and removed status:to-review Awaiting review labels Oct 11, 2018
Copy link
Contributor

@facuspagnuolo facuspagnuolo left a comment

Choose a reason for hiding this comment

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

LGTM, but shouldn't we remove it from push too?

@facuspagnuolo facuspagnuolo removed the status:ready-to-merge Order mergify to merge label Oct 11, 2018
@spalladino
Copy link
Contributor

LGTM, but shouldn't we remove it from push too?

Nope, push uses withNetworkOptions, not withPushOptions, so we're good.

@spalladino spalladino added the status:ready-to-merge Order mergify to merge label Oct 11, 2018
@mergify mergify bot merged commit df7d966 into master Oct 11, 2018
@spalladino spalladino deleted the add-skip-compile-option-to-push-options branch October 11, 2018 13:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status:ready-to-merge Order mergify to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants