mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
8a61802ca0
GitOrigin-RevId: 3f6efeda389647b2fd7817b15e2952f3a562dbd5 |
||
---|---|---|
.. | ||
res | ||
src | ||
.gitignore | ||
cabal.project.freeze | ||
ci-info.cabal | ||
LICENSE | ||
package.yaml | ||
README.md | ||
Setup.hs | ||
stack.yaml |
ci-info-hs
Checks if the current environment is a Continuous Integration server.
This is a Haskell port of watson/ci-info.
Usage
Check if the current environment is a CI server:
isCI :: IO Bool
Get the name of the CI vendor. Returns Nothing
if no CI could be detected. Returns Just CI_UNKNOWN_VENDOR
if a CI was detected, but the vendor name could not be determined:
getCI :: IO (Maybe CI)