git.iko.soy/typeable/minio-hs
on master help sign in
17 lines 546 B history raw
1# Examples
3The 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.
5To build the examples, the build flag `examples` needs to be turned on:
7```sh
8stack build --flag minio-hs:examples
9```
11Now to run and example script [BucketExists.hs](https://github.com/minio/minio-hs/blob/master/examples/BucketExists.hs):
13```sh
14stack exec BucketExists
15```
17The CI system is configured to build these examples with every change, so they should be current.