6GHCID_FLAGS ?= --ghc-options=-fno-code
10PROJECT_NAME := rollbar-hs
12CABAL_FILE := $(PROJECT_NAME).cabal
13CONFIGURE := $(DIST)/setup-config
14DOC_TEST := $(DIST)/build/doc-test/doc-test
18$(CABAL_FILE): package.yaml
21$(CONFIGURE): $(CABAL_FILE)
22 $(CABAL) $(CABAL_FLAGS) configure --enable-tests
25build $(DOC_TEST): $(CONFIGURE) default.nix
26 $(CABAL) $(CABAL_FLAGS) build $(CABAL_BUILD_FLAGS)
30 $(CABAL) $(CABAL_FLAGS) check
37default.nix: $(CABAL_FILE)
42 $(CABAL) $(CABAL_FLAGS) sdist
46 $(NIX_SHELL) --pure $(NIX_SHELL_FLAGS)
52test-doc-test: $(DOC_TEST)
57 @ $(CABAL) $(CABAL_FLAGS) upload $(DIST)/$(PROJECT_NAME)-*.tar.gz
61 $(GHCID) --command "cabal repl lib:$(PROJECT_NAME) $(GHCID_FLAGS)"
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list