Update snapcraft.yaml

This commit is contained in:
Dheepak Krishnamurthy 2020-10-29 11:02:03 -06:00
parent 08be27421b
commit 51ad5b5a14

View file

@ -11,8 +11,14 @@ confinement: strict
parts:
taskwarrior:
plugin: cmake
configflags:
- "-DBUILD_SYNC=OFF"
override-build: |
mkdir -p build
cd build
cmake \
-DBUILD_SYNC=OFF -DCMAKE_INSTALL_PREFIX=$SNAPCRAFT_STAGE/cmake \
$SNAPCRAFT_PART_SRC
make
make install
source: https://github.com/GothenburgBitFactory/taskwarrior.git
source-type: git
build-packages:
@ -26,4 +32,4 @@ apps:
taskwarrior-tui:
command: bin/taskwarrior-tui
task:
command: task
command: bin/task