Skip to content

Commit

Permalink
use crystal directly
Browse files Browse the repository at this point in the history
  • Loading branch information
jwaldrip committed Jul 22, 2020
1 parent 34d1b1d commit 98b8786
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
8 changes: 6 additions & 2 deletions dev/clear
@@ -1,2 +1,6 @@
#!/usr/bin/env bash
exec crystal run --warnings none `dirname $0`/clear.cr -- $@
#!/usr/bin/env crystal
require "clear"
require "../src/db/setup"
require "../src/db/migrations/*"

Clear::CLI.run
5 changes: 2 additions & 3 deletions dev/console
@@ -1,3 +1,2 @@
#!/usr/bin/env bash
proj="`dirname $0`/.."
exec crystal run $proj/lib/icr/src/icr/cli.cr -- -r $proj/src/app
#!/usr/bin/env crystal
require "icr/cli"
4 changes: 2 additions & 2 deletions dev/sentry
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
exec crystal run `dirname $0`/../lib/sentry/src/sentry_cli.cr -- $@
#!/usr/bin/env crystal
require "sentry/sentry_cli"

0 comments on commit 98b8786

Please sign in to comment.