]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Add partial recipe for wtfutil
authorEdward Delaporte <edward@delaporte.us>
Sat, 1 Jun 2024 17:48:06 +0000 (12:48 -0500)
committerEdward Delaporte <edward@delaporte.us>
Sat, 1 Jun 2024 17:48:06 +0000 (12:48 -0500)
Pending https://github.com/wtfutil/wtf/issues/1698

install/wtfutil.sh [new file with mode: 0755]

diff --git a/install/wtfutil.sh b/install/wtfutil.sh
new file mode 100755 (executable)
index 0000000..7c7bf2c
--- /dev/null
@@ -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
\ No newline at end of file