Skip to content

Commit

Permalink
Add a repl target to Makefile (#2749)
Browse files Browse the repository at this point in the history
* feat: make repl

* doc: changelog
  • Loading branch information
isovector authored Oct 5, 2022
1 parent 3fc4a9a commit c7ea775
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions changelog.d/5-internal/make-repl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add a Make target for ghci

0 comments on commit c7ea775

Please sign in to comment.