Update snapcraft.yaml

This commit is contained in:
Eugene 2019-03-13 12:33:48 +01:00 committed by GitHub
parent afdb06df40
commit affb439ab2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

28
snap/snapcraft.yaml Normal file
View File

@ -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/