diff options
| author | Rubén Beltrán del Río <ben@nsovocal.com> | 2016-12-13 00:24:01 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-13 00:24:01 -0600 |
| commit | cc69fef4b7e1587a91a0603d4bd1a46d0b133dd5 (patch) | |
| tree | a17bcd2bcda531ff4775ea3ce9133d770a0f4357 /bin | |
| parent | 7eb26514c478cfa06a797e9d63a29ef6a6d16d59 (diff) | |
Initial Setup (#1)
* Add basic files
* Add eslint file
* Add docker files
* Update readme
* Add circle CI Config
* Use actual test ci command
* Don't build on test_ci
* Add a dockerignore file
* Install newer version of docker compose
* Install newer docker on circle CI
* Restore docker services
* Use docker run to propagate exit status
* Copy package.json into docker
* Push image on success
* Push develop/master to dockerhub
* Add travis file since circle env is odd
* Remove circle ci config
* Account for http style origins
* Add docker build command to travis
* Add contributing text
* Add the changelog
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/dasein.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/bin/dasein.js b/bin/dasein.js new file mode 100755 index 0000000..10edfc3 --- /dev/null +++ b/bin/dasein.js @@ -0,0 +1,22 @@ +#!/usr/bin/env node +'use strict'; + +const Dasein = require('..'); + +const internals = {}; + +internals.dasein = new Dasein(); + +internals.main = () => { + + internals.dasein.run().then(() => { + + process.exit(0); + }).catch((err) => { + + console.error(err.stack || err.message || err); + process.exit(1); + }); +}; + +internals.main(); |