Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Commit

Permalink
Use my own fork of sentry because that's apparently the only way to f…
Browse files Browse the repository at this point in the history
…ix this. I miss Rust.
  • Loading branch information
hmans committed Jun 22, 2018
1 parent ccd0f74 commit 4c2e1a1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
8 changes: 4 additions & 4 deletions shard.lock
Expand Up @@ -14,7 +14,7 @@ shards:

crecto:
github: fridgerator/crecto
version: 0.8.7
version: 0.9.0

db:
github: crystal-lang/crystal-db
Expand All @@ -30,11 +30,11 @@ shards:

markd:
github: icyleaf/markd
commit: 0dd28e58b0aed2c0febc832aceebac26c5228c05
commit: cf15217964779cff3bf5f6da09f313277debe626

sentry:
github: samueleaton/sentry
version: 0.2.0
github: hmans/sentry
version: 0.3.0

slang:
github: jeromegn/slang
Expand Down
9 changes: 5 additions & 4 deletions shard.yml
Expand Up @@ -12,6 +12,11 @@ crystal: 0.25.0

license: MIT

development_dependencies:
sentry:
github: hmans/sentry
version: 0.3.0

dependencies:
kilt:
github: jeromegn/kilt
Expand All @@ -34,7 +39,3 @@ dependencies:
github: luckyframework/habitat
crappy:
path: ./crappy

development_dependencies:
sentry:
github: samueleaton/sentry
12 changes: 6 additions & 6 deletions support/sentry.cr
@@ -1,14 +1,14 @@
require "sentry"

# Monkeypatch for 0.25 compatibility
class Sentry::ProcessRunner
private def get_timestamp(file : String)
File.info(file).modification_time.to_s("%Y%m%d%H%M%S")
end
end
# class Sentry::ProcessRunner
# private def get_timestamp(file : String)
# File.info(file).modification_time.to_s("%Y%m%d%H%M%S")
# end
# end

sentry = Sentry::ProcessRunner.new(
process_name: "Crankypants DEV",
display_name: "Crankypants DEV",
build_command: "crystal build ./src/crankypants_cli.cr -o bin/crankypants",
run_command: "./bin/crankypants",
run_args: ["--asset-host", "localhost:8080"],
Expand Down

0 comments on commit 4c2e1a1

Please sign in to comment.