diff --git a/Makefile b/Makefile index a60238394f..6c9248a505 100644 --- a/Makefile +++ b/Makefile @@ -111,6 +111,11 @@ ci: c cabal-fmt: ./hack/bin/cabal-fmt.sh $(package) +# Get a ghci environment running for the given package. +.PHONY: repl +repl: cabal-fmt + cabal repl $(WIRE_CABAL_BUILD_OPTIONS) $(package) + # Use ghcid to watch a particular package. # pass target=package:name to specify which target is watched. .PHONY: ghcid diff --git a/changelog.d/5-internal/make-repl b/changelog.d/5-internal/make-repl new file mode 100644 index 0000000000..9539073b99 --- /dev/null +++ b/changelog.d/5-internal/make-repl @@ -0,0 +1 @@ +Add a Make target for ghci