Skip to content
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,14 +1,14 @@
name: lucky_cli
version: 0.19.0
version: 0.20.0

authors:
- Paul Smith <paulcsmith0218@gmail.com>

crystal: 0.33.0
crystal: 0.34.0

license: MIT

dependencies:
teeplate:
github: luckyframework/teeplate
version: 0.8.0
version: 0.8.1
8 changes: 3 additions & 5 deletions src/generators/web.cr
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,7 @@ class LuckyCli::Generators::Web

private def remove_default_license
remove_license_from_shard
FileUtils.rm_r("#{project_dir}/LICENSE")
rescue e : Errno
puts "License file not deleted because it does not exist"
FileUtils.rm_rf("#{project_dir}/LICENSE")
end

private def remove_license_from_shard
Expand Down Expand Up @@ -155,7 +153,7 @@ class LuckyCli::Generators::Web
dependencies:
lucky:
github: luckyframework/lucky
branch: master
version: ~> 0.20.0
authentic:
github: luckyframework/authentic
version: ~> 0.5.1
Expand All @@ -164,7 +162,7 @@ class LuckyCli::Generators::Web
version: ~> 0.1.1
dotenv:
github: gdotdesign/cr-dotenv
version: 0.6.0
version: ~> 0.7.0
DEPS_LIST

if browser?
Expand Down
2 changes: 1 addition & 1 deletion src/lucky_cli/version.cr
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module LuckyCli
VERSION = "0.19.0"
VERSION = "0.20.0"
end