module Sentry
Overview
Sentry config wrapper to create a new Sentry process
Defined in:
lib/sentry/src/sentry.crsentry-run.cr
sentry-run/sentry-config.cr
Constant Summary
- 
        LOCK = 
"sentry.lock" 
Class Method Summary
- .config(process_name : String, build_command : String, run_command : String, build_args = [] of String, run_args = [] of String, files = ["src/**/*.cr", "src/**/*.ecr"], should_build = true)
 - 
        .run(process : Sentry::ProcessRunner, &)
        
          
Check if
sentry.lockexists then yield a block If it doesn't exist then create a lock and execute a Sentry process. 
Class Method Detail
        
        def self.config(process_name : String, build_command : String, run_command : String, build_args = [] of String, run_args = [] of String, files = ["src/**/*.cr", "src/**/*.ecr"], should_build = true)
        #
      
      
      
        
        def self.run(process : Sentry::ProcessRunner, &)
        #
      
      
        Check if sentry.lock exists then yield a block
If it doesn't exist then create a lock and execute a Sentry process.
When a Sentry process is finished the sentry.lock file is deleted
because Signal::INT has a trap for Ctrl+C and at_exit is executed.