Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[taskwarrior] Add taskwarrior v3.2.0 #9764

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
36 changes: 36 additions & 0 deletions T/taskwarrior/build_tarballs.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
using BinaryBuilder
using Pkg

name = "taskwarrior"
version = v"3.1.0"
fredrikekre marked this conversation as resolved.
Show resolved Hide resolved

sources = [
GitSource("https://github.com/GothenburgBitFactory/taskwarrior", "5c6cc3e5229676655e93264e24a146a26b980e45")
fredrikekre marked this conversation as resolved.
Show resolved Hide resolved
]

# Bash recipe for building across all platforms
script = raw"""
cd $WORKSPACE/srcdir/taskwarrior/

fredrikekre marked this conversation as resolved.
Show resolved Hide resolved
mkdir build
cd build

cmake .. -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=$prefix
fredrikekre marked this conversation as resolved.
Show resolved Hide resolved
cmake --build build --parallel ${nproc}
cmake --install build
"""

platforms = supported_platforms()

# The products that we will ensure are always built
products = [
ExecutableProduct("task", :task),
]

# Dependencies that must be installed before this package can be built
dependencies = Dependency[
fredrikekre marked this conversation as resolved.
Show resolved Hide resolved
]
fredrikekre marked this conversation as resolved.
Show resolved Hide resolved

# Build the tarballs
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; compilers=[:c, :rust], julia_compat="1.7")