samueleaton / sentry

Build/Runs your crystal application, watches files, and rebuilds/restarts app on file changes
MIT License
286 stars 27 forks source link

Adds --install argument for installing shards before running #32

Closed samueleaton closed 6 years ago

samueleaton commented 6 years ago

Example:

$ ./sentry -i --install

 🤖  Sentry configuration:
       display name:   eaton_party
       shard name:     eaton_party
       install shards: true
       info:           true
       build:          crystal build ./src/eaton_party.cr
       build_args:     []
       run:            ./eaton_party
       run_args:       []
       watch:          ["./src/**/*.cr", "./src/**/*.ecr"]
 🤖  Your SentryBot is vigilant. beep-boop...
 🤖  Installing shards...
 Fetching https://github.com/samueleaton/raze.git
 Fetching https://github.com/luislavena/radix.git
 Fetching https://github.com/jeromegn/kilt.git
 Using raze (0.3.0)
 Using radix (0.3.8)
 Using kilt (0.4.0)
 🤖  watching file: ./src/eaton_party.cr
...
...