* Disable live-server tests by default - They will always be run by our CI - Also update and fix example in README. * Update examples and add them to build - Also drop support for GHC 8.2.2 * Bump up version for new release
18 lines
546 B
Markdown
18 lines
546 B
Markdown
# Examples
|
|
|
|
The examples in this directory illustrate usage of various APIs provided by this library. Each file is self-contained and can be run like a script directly.
|
|
|
|
To build the examples, the build flag `examples` needs to be turned on:
|
|
|
|
```sh
|
|
stack build --flag minio-hs:examples
|
|
```
|
|
|
|
Now to run and example script [BucketExists.hs](https://github.com/minio/minio-hs/blob/master/examples/BucketExists.hs):
|
|
|
|
```sh
|
|
stack exec BucketExists
|
|
```
|
|
|
|
The CI system is configured to build these examples with every change, so they should be current.
|