lib/tacape/cli.rb in tacape-0.0.3 vs lib/tacape/cli.rb in tacape-0.0.4
- old
+ new
@@ -66,11 +66,10 @@
load tool
end
end
def update_tools
- #Should the tools be updated at each command?
Thread.new {
`cd #{@current_os.tool_folder} && git pull`
}
end
@@ -78,11 +77,9 @@
unless File.exists? @current_os.config_folder
FileUtils.mkdir_p(@current_os.config_folder)
end
unless File.exists? @current_os.tool_folder
`git clone git@bitbucket.org:lucasmartins/tacape-tools.git #{@current_os.tool_folder}`
- else
- update_tools
end
end
end
end