mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-11 08:46:20 +00:00
BIN
.snapcraft/travis_snapcraft.cfg
Normal file
BIN
.snapcraft/travis_snapcraft.cfg
Normal file
Binary file not shown.
22
.travis.yml
22
.travis.yml
@@ -1,6 +1,20 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- 'stable'
|
- stable
|
||||||
- 'lts/*'
|
- lts/*
|
||||||
|
script:
|
||||||
script: npm run lint && npm run test
|
- npm run lint && npm run test
|
||||||
|
- 'if [[ ${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH} = "master" ]]; then npm install -g grunt npm@5.2 && grunt pre-build; fi'
|
||||||
|
after_success:
|
||||||
|
- openssl aes-256-cbc -K $encrypted_440d7f9a3c38_key -iv $encrypted_440d7f9a3c38_iv
|
||||||
|
-in .snapcraft/travis_snapcraft.cfg -out .snapcraft/snapcraft.cfg -d
|
||||||
|
sudo: required
|
||||||
|
services:
|
||||||
|
- docker
|
||||||
|
deploy:
|
||||||
|
'on':
|
||||||
|
branch: master
|
||||||
|
provider: script
|
||||||
|
script: if [ ${TRAVIS_NODE_VERSION} = "stable" ];then docker run -v $(pwd):$(pwd) -t snapcore/snapcraft sh -c "apt update -qq
|
||||||
|
&& cd $(pwd) && snapcraft && snapcraft push *.snap --release edge"; fi
|
||||||
|
skip_cleanup: true
|
||||||
|
|||||||
9
snap/gui/boostnote.desktop
Executable file
9
snap/gui/boostnote.desktop
Executable file
@@ -0,0 +1,9 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Type=Application
|
||||||
|
Name=Boostnote
|
||||||
|
Comment=A note-taking app for programmers
|
||||||
|
Exec=$SNAP/etc/boostnote/Boostnote
|
||||||
|
Icon=resources/app.png
|
||||||
|
MimeType=image/x-foo;
|
||||||
|
NotShowIn=KDE;
|
||||||
48
snap/snapcraft.yaml
Normal file
48
snap/snapcraft.yaml
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
name: boostnote
|
||||||
|
version: '0.1'
|
||||||
|
summary: A note-taking app for programmers
|
||||||
|
description: |
|
||||||
|
Boostnote is an open source note-taking app made for programmers just like you. https://boostnote.io
|
||||||
|
https://github.com/BoostIO/Boostnote
|
||||||
|
|
||||||
|
grade: stable
|
||||||
|
confinement: strict
|
||||||
|
|
||||||
|
apps:
|
||||||
|
asmstnote:
|
||||||
|
command: desktop-launch $SNAP/etc/boostnote/Boostnote
|
||||||
|
plugs:
|
||||||
|
- browser-support
|
||||||
|
- network
|
||||||
|
- unity7
|
||||||
|
- gsettings
|
||||||
|
|
||||||
|
parts:
|
||||||
|
src:
|
||||||
|
plugin: nodejs
|
||||||
|
source: .
|
||||||
|
|
||||||
|
deps:
|
||||||
|
plugin: nil
|
||||||
|
stage-packages:
|
||||||
|
- libgconf-2-4
|
||||||
|
- libnss3
|
||||||
|
- libxss1
|
||||||
|
- fontconfig-config
|
||||||
|
|
||||||
|
desktop-integration:
|
||||||
|
plugin: nil
|
||||||
|
stage-packages:
|
||||||
|
- libappindicator1
|
||||||
|
- libdbusmenu-glib4
|
||||||
|
- libnotify4
|
||||||
|
- libunity9
|
||||||
|
|
||||||
|
launcher:
|
||||||
|
plugin: dump
|
||||||
|
source: .
|
||||||
|
stage:
|
||||||
|
- etc/boostnote
|
||||||
|
organize:
|
||||||
|
dist/Boostnote-linux-x64: etc/boostnote
|
||||||
|
after: [desktop-glib-only]
|
||||||
Reference in New Issue
Block a user