From cc69fef4b7e1587a91a0603d4bd1a46d0b133dd5 Mon Sep 17 00:00:00 2001 From: Rubén Beltrán del Río Date: Tue, 13 Dec 2016 00:24:01 -0600 Subject: 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 --- bin/dasein.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 bin/dasein.js (limited to 'bin') 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(); -- cgit