diff --git a/shard.lock b/shard.lock index 94764a8..1cbdeff 100644 --- a/shard.lock +++ b/shard.lock @@ -2,11 +2,11 @@ version: 1.0 shards: callback: github: mosop/callback - version: 0.5.0.1 + version: 0.5.0 cli: github: mosop/cli - commit: 1eb9c7e7b1109bac9800972c7be538583a13587d + version: 0.5.1 icr: github: TechMagister/crystal-icr @@ -14,7 +14,7 @@ shards: optarg: github: mosop/optarg - version: 0.4.2.9 + version: 0.4.2.7 sentry: github: TechMagister/sentry diff --git a/shard.yml b/shard.yml index f5f5ec1..95c1419 100644 --- a/shard.yml +++ b/shard.yml @@ -16,10 +16,11 @@ license: MIT dependencies: cli: github: mosop/cli - branch: master + version: ~> 0.5.1 teeplate: github: mosop/teeplate + version: ~> 0.2.3 icr: github: TechMagister/crystal-icr diff --git a/src/templates/app/bin/sentry.cr b/src/templates/app/bin/sentry.cr.ecr similarity index 97% rename from src/templates/app/bin/sentry.cr rename to src/templates/app/bin/sentry.cr.ecr index e7e0d07..1622fd4 100644 --- a/src/templates/app/bin/sentry.cr +++ b/src/templates/app/bin/sentry.cr.ecr @@ -1,7 +1,7 @@ require "option_parser" -build_command = "crystal build ./src/app.cr" -run_command = "./app" +build_command = "crystal build ./src/<%= @name %>.cr" +run_command = "./<%= @name %>" files = ["./src/**/*", "./config/*"] files_cleared = false show_help = false diff --git a/src/templates/app/src/app.cr b/src/templates/app/src/{{name}}.cr similarity index 100% rename from src/templates/app/src/app.cr rename to src/templates/app/src/{{name}}.cr