2026-08-23 15:07:35 +00:00
|
|
|
#!/bin/sh
|
2026-08-23 16:51:00 +00:00
|
|
|
# Brute-force builder for Taskwarrior
|
2026-08-23 15:07:35 +00:00
|
|
|
# 2026-98-22, Tim Holloway
|
|
|
|
|
#
|
|
|
|
|
sudo dnf -y iinstalll git
|
|
|
|
|
git clone https://github.com/GothenburgBitFactory/taskwarrior.git
|
|
|
|
|
cd taskwarrior
|
|
|
|
|
#
|
|
|
|
|
# NOTE: do a "git checkout" if you want to build a specific version by tag_id
|
|
|
|
|
#
|
|
|
|
|
sudo dnf -y install epel-release
|
|
|
|
|
sudo dnf -y install fish
|
|
|
|
|
|
|
|
|
|
sudo dnf -y groupinstall "Development Tools"
|
|
|
|
|
sudo dnf -y install cmake gnutls-devel libuuid-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -y
|
|
|
|
|
# Hit Enter, above (-y)
|
|
|
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o /tmp/rustup.sh && . /tmp/rustup.sh -y
|
|
|
|
|
. "$HOME/.cargo/env"
|
|
|
|
|
#source "$HOME/.cargo/env"
|
|
|
|
|
|
|
|
|
|
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
|
|
|
|
|
cmake --build build
|
|
|
|
|
sudo cmake --install build
|