minio-hs/examples/README.md
Aditya Manthramurthy d2a78df4eb
New release (#140)
* 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
2020-01-02 11:23:03 -08:00

546 B

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:

stack build --flag minio-hs:examples

Now to run and example script BucketExists.hs:

stack exec BucketExists

The CI system is configured to build these examples with every change, so they should be current.