Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve shim wrapper generator #148

Merged
merged 1 commit into from Oct 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/terraspace/cli/new/shim.rb
Expand Up @@ -18,7 +18,6 @@ def set_vars
end

def create
return unless File.exist?(".git")
dest = @path
template "terraspace", dest
chmod dest, 0755
Expand All @@ -44,6 +43,8 @@ def message

export PATH=#{dir}:/$PATH

Also note, the shim wrapper contains starter code. Though it should generally work for most systems,
it might require adjustments depending on your system.
EOL
end

Expand Down