Permalink
Browse files

update snap

  • Loading branch information...
rvagg committed Apr 26, 2018
1 parent b1949b2 commit dd31448fd0697b235749fd32843d4d934cfbee9f
Showing with 4 additions and 34 deletions.
  1. +0 −33 snap/snapcraft.yaml
  2. +4 −1 snap/snapcraft.yaml.sh

This file was deleted.

Oops, something went wrong.
@@ -72,7 +72,6 @@ parts:
- g++
- make
- python2.7
- ccache
prepare: |
./configure --prefix=/ --release-urlbase=https://nodejs.org/download/${NODE_DISTTYPE}/ --tag=${NODE_TAG}
install: |
@@ -82,6 +81,10 @@ parts:
source-type: tar
source: https://yarnpkg.com/latest.tar.gz
plugin: dump
# Yarn has a problem with lifecycle scripts when used inside snap, they don't complete properly, with exit code !=0.
# Replacing the spinner with proper stdio appears to fix it.
install: |
sed -i "s/var stdio = spinner ? undefined : 'inherit';/var stdio = 'inherit';/" \$SNAPCRAFT_PART_INSTALL/lib/cli.js
EOF
if [ "X${UPDATE_GIT}" = "Xyes" ] && [ -n "$(git status --porcelain $__dirname)" ]; then

0 comments on commit dd31448

Please sign in to comment.