mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 10:58:55 +00:00
d928617b69
* change strictFields cli option default to True; * use katip logging; add cli-option for monad-logger * fix date parsing * remove package.yaml
30 lines
692 B
Markdown
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`
|
|
|