Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .snapcraft/travis_snapcraft.cfg
Binary file not shown.
22 changes: 18 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
language: node_js
node_js:
- 'stable'
- 'lts/*'

script: npm run lint && npm run test
- stable
- lts/*
script:
- npm run lint && npm run test
- 'if [[ ${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH} = "master" ]]; then npm install -g grunt [email protected] && 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 changes: 9 additions & 0 deletions snap/gui/boostnote.desktop
Original file line number Diff line number Diff line change
@@ -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 changes: 48 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -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]