Skip to content

Commit

Permalink
Add partial recipe for wtfutil
Browse files Browse the repository at this point in the history
  • Loading branch information
edthedev committed Jun 1, 2024
1 parent ce2dda4 commit a5ec89b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions install/wtfutil.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Set the Go proxy variable to GoCenter
# export GOPROXY="https://gocenter.io"

# Enable Go modules
# export GO111MODULE=on

# go install github.com/edthedev/wtf@eda8e0f
# cd $GOPATH/src/github.com/wtfutil/wtf
# make install
# make run

echo "TODO: Get latest .tar release into ~/Downloads"
mkdir /tmp/wtf
cd /tmp/wtf
tar xvf $HOME/Downloads/wtf*.tar.gz
mv /tmp/wtf/wtf_0.43.0_linux_amd64/wtfutil ~/.local/bin
rm -rf /tmp/wtf
which wtfutil

0 comments on commit a5ec89b

Please sign in to comment.