diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-04-27 04:36:22 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-04-27 04:36:22 +0900 |
| commit | 61742fdbdd55cb383ddb3d5037659f50a751111e (patch) | |
| tree | 6aca4bd435072f5363b3370b135c81f927a9d978 /mitamae | |
| parent | 19a7ae33ac01e93bb28d171f8062154fc587d2ee (diff) | |
| download | dotfiles-61742fdbdd55cb383ddb3d5037659f50a751111e.tar.gz dotfiles-61742fdbdd55cb383ddb3d5037659f50a751111e.tar.zst dotfiles-61742fdbdd55cb383ddb3d5037659f50a751111e.zip | |
git: move location of git-* binaries
Diffstat (limited to 'mitamae')
| -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 |
