diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 00000000..20d1a1d3 --- /dev/null +++ b/snap/snapcraft.yaml @@ -0,0 +1,28 @@ +name: terminus +version: '1.0.0' +summary: A terminal for a modern age +description: | + Terminus is a terminal heavily inspired by Hyper. It is, however, designed for people who need to get things done. + +grade: devel +confinement: devmode + +apps: + terminus: + command: opt/terminus/terminus + +parts: + app: + plugin: dump + source: . + build-packages: + - libfontconfig-dev + + override-build: | + npm i -g yarn + yarn + ./scripts/build-native.js + yarn run build + ./scripts/build-linux.js + mkdir -p $SNAPCRAFT_PART_INSTALL/opt/terminus || true + cp -ar dist/linux-unpacked/* $SNAPCRAFT_PART_INSTALL/opt/terminus/