Skip to content

Commit

Permalink
Merge branch 'release/0.1.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitchell Stanley committed May 30, 2019
2 parents 144b30d + 120b1b9 commit 70d1e80
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
/.shards/
*.dwarf
/node_modules/
snipcli
snipline_cli
/snipcli
/snipline_cli
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: snipline_cli
version: 0.1.2
version: 0.1.3

authors:
- Mitchell Stanley <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion src/snipline_cli.cr
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require "./snipline_cli/commands/*"
require "toml"

module SniplineCli
VERSION = "0.1.2"
VERSION = "0.1.3"

def self.config
SniplineCli::Config.config
Expand Down
13 changes: 13 additions & 0 deletions src/snipline_cli/services/create_config_directory.cr
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module SniplineCli
module Services
class CreateConfigDirectory
def self.run(file)
directory_name = File.expand_path(File.dirname(file))
unless File.directory?(directory_name)
SniplineCli.log.debug("Making config directory #{directory_name}")
Dir.mkdir(directory_name)
end
end
end
end
end

0 comments on commit 70d1e80

Please sign in to comment.