Add prepare and task command to snapcraft.yaml

This commit is contained in:
Dheepak Krishnamurthy 2020-10-29 00:42:35 -06:00
parent cbe47e6574
commit 543fdc7eae

View file

@ -12,12 +12,17 @@ parts:
taskwarrior-tui:
plugin: rust
source: .
prepare: |
apt-get update
apt-get install taskwarrior -y
apps:
taskwarrior-tui:
command: bin/taskwarrior-tui
plugs:
- home
task:
command: usr/bin/task
layout:
/usr/bin/task: