mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-13 13:10:53 +00:00
* [haskell-http-client] tests - in Arbitrary instances, reduce the size for non-primitive fields to prevent infinite recursion * [haskell-http-client] tests - generate Nothing instead of (Just Null :: Maybe A.Value) to avoid roundtrip test errors
11 lines
682 B
Makefile
11 lines
682 B
Makefile
STACKCMD := stack --install-ghc
|
|
.PHONY: all clean build test test-integration build-example build-integration
|
|
all: clean build test build-example build-integration
|
|
clean: ; (rm -Rf ./.stack-work ./example-app/.stack-work ./tests-integration/.stack-work);
|
|
build: ; ($(STACKCMD) haddock --no-haddock-deps --fast);
|
|
test: ; ($(STACKCMD) test --fast);
|
|
build-example: build ; (cd ./example-app; $(STACKCMD) build --fast);
|
|
# a test-only project may exit with ExitFailure, despite building successfully
|
|
build-integration: build ; (cd ./tests-integration; $(STACKCMD) build --no-run-tests --fast);
|
|
test-integration: build-integration ; (cd ./tests-integration; $(STACKCMD) test --fast);
|