-
Notifications
You must be signed in to change notification settings - Fork 559
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[taskwarrior] Add taskwarrior v3.1.0
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") | ||
|