Permalink
Commits on Aug 27, 2018
  1. Adds --install argument for installing shards before running

    samueleaton committed Aug 27, 2018
    Example:
    
    ```bash
    $ ./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
    ...
    ...
    ```
Commits on Aug 26, 2018
  1. return error code when compile fails

    jgillich authored and samueleaton committed Aug 26, 2018
Commits on Jun 21, 2018
  1. bumps version

    samueleaton committed Jun 21, 2018
  2. Crystal 0.25.0 support

    mamantoha authored and samueleaton committed Jun 21, 2018
Commits on Mar 27, 2018
Commits on Feb 19, 2018
  1. Adds `Sentry::Config` for managing configuration; Checks `.sentry.yml…

    faultyserver authored and samueleaton committed Feb 19, 2018
    …` on startup
    
    * Add `Sentry::Config` for managing configuration, and check for `.sentry.yml`.
    
    This commit introduces `Sentry::Config` as a single object to manage the configuration of a `sentry` instance. The CLI also now checks for a `.sentry.yml` file in the project directory to load configurations automatically. These configurations can still be overwritten by specifying options the command line, though this is now entirely optional, as all options are supported from the YAML file.
    
    An example and explanation of the `.sentry.yml` format can be found in `.sentry.example.yml`.
    
    * Allow users to specify a config file with `-c` or `--config`
    
    * Rename `process_name` to `display_name`. Use name from shard for default build/run commands.
    
    * Only set `display_name` on merge if it was explicitly set on `other`.
    The default getter falls back to the shard name, and because the conditional for merging `display_name` only checked that this was truthy, it would always be set to whatever `other` had as a `display_name`, or the shard name (never keeping its own value).
    
    * Track whether config explicitly sets `build` and `run` commands.
    
    Similar to `display_name` before, `build` and `run` were also being overwritten when merging configs because of their default values.
    
    This commit adds more boolean properties to `Sentry::Config` to track whether the `build` and `run` commands have been explicitly set, rather than using the default value. These booleans are used in `merge!` to decide whether the config being merged in should apply its `build` and `run` commands to the receiving config.
Commits on Feb 2, 2018
Commits on Jan 12, 2018
  1. updates info example

    samueleaton committed Jan 12, 2018
  2. crystal next (v0.24.1)

    samueleaton committed Jan 12, 2018
    * updates to make compatiable with upcoming crystal update
    
    * bumps version; adds crystal version
Commits on Nov 15, 2017
  1. merges master

    samueleaton committed Nov 15, 2017
  2. bumps version

    samueleaton committed Nov 15, 2017
Commits on Nov 4, 2017
Commits on Aug 26, 2017
  1. Adds install script in Crystal to replace Ruby install script

    samueleaton committed Aug 26, 2017
    * changes install script from Ruby to Crystal
    
    * keep install.rb for now so anything referencing it won't break
Commits on Apr 8, 2017
Commits on Mar 28, 2017
  1. Merge pull request #10 from samueleaton/rafactor-cli

    samueleaton committed Mar 28, 2017
    Refactors installation and CLI
Commits on Jan 14, 2017
Commits on Jan 2, 2017
  1. Changes link

    samueleaton committed Jan 2, 2017
  2. Merge pull request #7 from samueleaton/refactor-cli

    samueleaton committed Jan 2, 2017
    Separates CLI from core module
Commits on Dec 14, 2016
  1. Merge pull request #5 from samueleaton/feat-no-build

    samueleaton committed Dec 14, 2016
    Adds --no-build to skip build step
  2. Adds --no-build to skip build step

    samueleaton committed Dec 14, 2016
    Also refactors much of the code and adds more console statements
Commits on Dec 13, 2016
  1. Adds build and run argument flags

    samueleaton committed Dec 13, 2016
    Feature: add build and run argument flags
Commits on Nov 24, 2016
  1. Change slash to dash

    samueleaton committed Nov 24, 2016