Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to make compatible with upcoming crystal update #15

Merged
merged 3 commits into from
Jan 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions shard.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: sentry
version: 0.1.1
version: 0.2.0

authors:
- Sam Eaton <sam@devmunchies.com>

- Sam Eaton <sam@eaton.party>
crystal: 0.24.1
license: ISC
8 changes: 4 additions & 4 deletions src/sentry.cr
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ module Sentry
puts "🤖 compiling #{process_name}..."
build_args = @build_args
if build_args.size > 0
Process.run(@build_command, build_args, shell: true, output: true, error: true)
Process.run(@build_command, build_args, shell: true, output: Process::Redirect::Inherit, error: Process::Redirect::Inherit)
else
Process.run(@build_command, shell: true, output: true, error: true)
Process.run(@build_command, shell: true, output: Process::Redirect::Inherit, error: Process::Redirect::Inherit)
end
end

Expand All @@ -43,9 +43,9 @@ module Sentry
puts "🤖 starting #{process_name}..."
run_args = @run_args
if run_args.size > 0
@app_process = Process.new(@run_command, run_args, output: true, error: true)
@app_process = Process.new(@run_command, run_args, output: Process::Redirect::Inherit, error: Process::Redirect::Inherit)
else
@app_process = Process.new(@run_command, output: true, error: true)
@app_process = Process.new(@run_command, output: Process::Redirect::Inherit, error: Process::Redirect::Inherit)
end
end

Expand Down