Skip to content

Add --dry-run option to psc-publish#1308

Merged
paf31 merged 1 commit intopurescript:masterfrom
hdgarrood:publish-dry-run
Jul 27, 2015
Merged

Add --dry-run option to psc-publish#1308
paf31 merged 1 commit intopurescript:masterfrom
hdgarrood:publish-dry-run

Conversation

@hdgarrood
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This all looks good, but do you think it's worth introducing an Options type now, so that we don't have to break the API again later?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah - I did introduce PublishOptions: https://github.com/purescript/purescript/pull/1308/files#diff-072e63067f4580fc7a99055d7d5655d0R55

I don't really consider this function part of the API, I think the real API is in Language.PureScript.Publish. If we do want to expand the command line API later, then this function's type will have to change, but considering that this module can't be imported anywhere*, I don't think that will be a problem.

*at least, I am pretty sure that this is the case.

paf31 added a commit that referenced this pull request Jul 27, 2015
Add --dry-run option to psc-publish
@paf31 paf31 merged commit e36c1e8 into purescript:master Jul 27, 2015
@hdgarrood hdgarrood deleted the publish-dry-run branch July 27, 2015 01:36
@garyb garyb mentioned this pull request Aug 3, 2015
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.

2 participants