diff options
Diffstat (limited to 'mitamae/default.rb')
| -rw-r--r-- | mitamae/default.rb | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/mitamae/default.rb b/mitamae/default.rb index 16de368..0ae7610 100644 --- a/mitamae/default.rb +++ b/mitamae/default.rb @@ -47,24 +47,18 @@ link "#{home}/.config/nvim" do to "#{home}/dotfiles/.config/nvim" end +directory "#{home}/bin" + # Go execute "go" do - command "go build -o bin/gitalias/git-extract-issue src/gitalias/git-extract-issue.go" - not_if "test -f bin/gitalias/git-extract-issue" + command "go build -o #{home}/bin/git-extract-issue src/gitalias/git-extract-issue.go" + not_if "test -f #{home}/bin/git-extract-issue" end execute "go" do - command "go build -o bin/gitalias/git-sw src/gitalias/git-sw.go" - not_if "test -f bin/gitalias/git-sw" + command "go build -o #{home}/bin/git-sw src/gitalias/git-sw.go" + not_if "test -f #{home}/bin/git-sw" end -directory "#{home}/bin/gitalias" - -link "#{home}/bin/gitalias/git-extract-issue" do - to "#{home}/dotfiles/bin/gitalias/git-extract-issue" -end -link "#{home}/bin/gitalias/git-sw" do - to "#{home}/dotfiles/bin/gitalias/git-sw" -end link "#{home}/bin/tmux-pane-idx" do to "#{home}/dotfiles/bin/tmux-pane-idx" end |
