Update snapcraft.yaml

This commit is contained in:
Dheepak Krishnamurthy 2020-10-29 11:02:03 -06:00
parent 93bda83bb2
commit a00debeefb

View file

@ -11,8 +11,14 @@ confinement: strict
parts: parts:
taskwarrior: taskwarrior:
plugin: cmake plugin: cmake
configflags: override-build: |
- "-DBUILD_SYNC=OFF" 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: https://github.com/GothenburgBitFactory/taskwarrior.git
source-type: git source-type: git
build-packages: build-packages:
@ -26,4 +32,4 @@ apps:
taskwarrior-tui: taskwarrior-tui:
command: bin/taskwarrior-tui command: bin/taskwarrior-tui
task: task:
command: task command: bin/task