Adding devShells
to play with generated schema code for Haskell's Prelude and Plutus Prelude
#122
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR does the following:
libs/build.nix
dev-prelude-haskell
: a devShell for when someone wants to play withlibs/lbf-prelude/Prelude.lbf
in Haskelldev-plutustx
: a devShell for when someone wants to play withlibs/lbf-plutus/Plutus/V1.lbf
orlibs/lbf-plutus/Plutus/V2.lbf
in HaskellThe rest of the sections demonstrate how to use.
dev-prelude-haskell
The following demonstrates
script
output (with some details omitted) of playing around withTEST.lbf
with the developer shell fordev-prelude-haskell
. Commands are prefixed with$
and output follows.Note the
--ignore-environment
flag is just used for demonstration purposes to show that the devShell environment really is complete with the required information.dev-plutustx
Similarly to the previous section, the following demonstrates
script
output (with some details omitted) of playing around withTEST.lbf
with the developer shell fordev-plutustx
. Commands are prefixed with$
and output follows.Note the
--ignore-environment
flag is just used for demonstration purposes to show that the devShell environment really is complete with the required information.