openapi-generator/samples/client/petstore/haskell-http-client/CONTRIBUTING.md
Jon Schoning d928617b69 [haskell-http-client] use katip logger, default strict (#6478)
* change strictFields cli option default to True;

* use katip logging; add cli-option for monad-logger

* fix date parsing

* remove package.yaml
2017-09-19 01:24:38 +08:00

30 lines
692 B
Markdown

### Rebuild jar
```
(cd ../../../..; mvn package);
```
### Regenerate Template
1. Run the shell script `haskell-http-client-petstore.sh` to update the Petstore sample
```bash
(cd ../../../..; ./bin/haskell-http-client-petstore.sh);
```
### Typecheck, Build and run Unit tests
2. Check that the following commands complete build without any errors
```bash
(rm -Rf ./.stack-work ./example-app/.stack-work ./tests-integration/.stack-work);
(stack haddock && stack test);
(cd ./example-app; stack build);
(cd ./tests-integration; stack build --no-run-tests);
```
### Integration Tests
3. run the integration tests as described in `./tests-integration/README.md`