Skip to content

Commit

Permalink
refactor: 🔨 delete the bin/directory; move the bob definition into th…
Browse files Browse the repository at this point in the history
…e root bob file
  • Loading branch information
simplymichael committed Sep 1, 2024
1 parent f761823 commit a9e9242
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 44 deletions.
10 changes: 0 additions & 10 deletions bin/bob

This file was deleted.

29 changes: 0 additions & 29 deletions bin/start-server.js

This file was deleted.

9 changes: 4 additions & 5 deletions bob
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

const path = require("node:path");

/*
* Support `node bob ...` commands
*/

require(`${__dirname.replace(/\\/g, "/")}/bin/bob`);
require(`${__dirname.replace(/\\/g, "/")}/src/bootstrap/app`)
.dispatch(process.argv.slice(2))
.then((status) => status !== undefined && process.exit(status))
.catch((err) => process.exit(err.code));

0 comments on commit a9e9242

Please sign in to comment.