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

Shrinker integration and unused dependency removal #37

Merged
merged 6 commits into from Jan 5, 2022

Conversation

Geometer1729
Copy link
Member

I removed the playground and plutus-pab dependencies cause they don't seem to be used, and I integrated shrinker from the Plutonomicon/Shrinker repo.

@srid
Copy link
Member

srid commented Jan 4, 2022

@MatthewCroughan Why is the CI not running for this PR?

EDIT: Is it to do with the PR being from a branch outside this repo? mlabs-haskell:main

@MatthewCroughan
Copy link
Contributor

@srid yes, currently there is no automated way for forks to submit PRs which will run on our machines. However, there are two workarounds which are detailed here:

hercules-ci/support#10 (comment)
hercules-ci/support#10 (comment)

@@ -60,6 +61,8 @@ outputFilePath :: O.Parser (Maybe OutputFilePath)
outputFilePath =
O.argument (Just . OutputFilePath <$> O.str) (O.metavar "OUTPUT" <> O.value Nothing <> O.help "The output file path: defaults to stdout")

shrinking :: O.Parser Bool
shrinking = O.switch (O.long "shrinking" <> O.short 's' <> O.help "Shrink the uplc before serializing (only affects the assemble command)")
Copy link
Member

Choose a reason for hiding this comment

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

I think it would be useful to respect --shrinking flag on run and eval commands too.

Copy link
Member Author

Choose a reason for hiding this comment

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

That makes sense. I'll get to work on that.

@srid srid merged commit d6fcf8b into Plutonomicon:main Jan 5, 2022
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.

None yet

3 participants