Skip to content

Commit

Permalink
Merge pull request #8389 from RocketChat/fix-snap-npm-dep
Browse files Browse the repository at this point in the history
[FIX] Add needed dependency for snaps
  • Loading branch information
rodrigok authored Oct 5, 2017
2 parents 71286e7 + bd42945 commit 3a7ad8b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 215 deletions.
102 changes: 0 additions & 102 deletions .snapcraft/candidate/snapcraft.yaml

This file was deleted.

102 changes: 0 additions & 102 deletions .snapcraft/edge/snapcraft.yaml

This file was deleted.

13 changes: 3 additions & 10 deletions .snapcraft/stable/snapcraft.yaml → .snapcraft/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,17 @@ apps:
parts:
node:
plugin: nodejs
node-engine: 4.8.3
node-packages:
- promise
- fibers
- underscore
- source-map-support
- semver
node-engine: 4.8.4
build-packages:
# For fibers
- python
- build-essential
- nodejs
organize:
lib/node_modules: node_modules
rocketchat-server:
plugin: dump
prepare: cd programs/server; npm install
after: [node]
source: https://rocket.chat/releases/latest/download
source: https://rocket.chat/releases/#{RC_VERSION}/download
source-type: tar
stage-packages:
- graphicsmagick
Expand Down
2 changes: 1 addition & 1 deletion .travis/snap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ GIT_SSH_COMMAND="ssh -i launchpadkey" git clone -b $CHANNEL git+ssh://rocket.cha

# Rarely will change, but just incase we copy it all
cp -r resources buildinfo launchpad/
sed s/#{RC_VERSION}/$RC_VERSION/ $CHANNEL/snapcraft.yaml > launchpad/snapcraft.yaml
sed s/#{RC_VERSION}/$RC_VERSION/ snapcraft.yaml > launchpad/snapcraft.yaml

cd launchpad
git add resources snapcraft.yaml buildinfo
Expand Down

0 comments on commit 3a7ad8b

Please sign in to comment.