From d9af2b41978a8c7fcfa57e57eff172701754d964 Mon Sep 17 00:00:00 2001 From: Valentine Shatravenko Date: Tue, 8 May 2018 19:31:00 +0300 Subject: [PATCH] Added symbolic link creation on local module init --- lib/kite/module.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/kite/module.rb b/lib/kite/module.rb index 7ddb451..312c950 100644 --- a/lib/kite/module.rb +++ b/lib/kite/module.rb @@ -22,6 +22,8 @@ def init(path) end say "Use git submodule add #{@path} to be able to commit this module as a submodule", :yellow + else + link_file File.expand_path(path), "modules/#{@name}" end render_vars