Skip to content

Commit

Permalink
[taskwarrior] Add taskwarrior v3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kdheepak committed Nov 11, 2024
1 parent f3a0cfe commit 8ee776d
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions T/taskwarrior/build_tarballs.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
using BinaryBuilder

name = "taskwarrior"
version = v"3.1.0"

sources = [
GitSource("https://github.com/GothenburgBitFactory/taskwarrior", "5c6cc3e5229676655e93264e24a146a26b980e45")
]

# Bash recipe for building across all platforms
script = raw"""
cd $WORKSPACE/srcdir/taskwarrior/
cmake -S . -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake --build build
"""

# We build for a restricted set of platforms, because our rust toolchain is a little broken
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[
]

# Build the tarballs, and possibly a `build.jl` as well.
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; compilers=[:c, :rust], julia_compat="1.6")

0 comments on commit 8ee776d

Please sign in to comment.