Created
July 25, 2017 17:58
-
-
Save sergiusens/0db06a28b918191a5c2e4f733582e996 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml | |
index 4caa0d5..e7fc11a 100644 | |
--- a/snap/snapcraft.yaml | |
+++ b/snap/snapcraft.yaml | |
@@ -1,4 +1,3 @@ | |
- | |
name: heroku | |
version: '6.12.17' | |
summary: Heroku CLI | |
@@ -8,11 +7,15 @@ confinement: classic | |
apps: | |
heroku: | |
- command: bin/heroku | |
+ command: bin/node $SNAP/lib/node_modules/heroku-cli/bin/run.js | |
parts: | |
- hello-node-snap: | |
+ heroku: | |
+ source: . | |
plugin: nodejs | |
- node-engine: 7.10.0 | |
- node-packages: | |
- - heroku-cli | |
+ node-engine: 8.2.1 | |
+ # LP: #1702661 local projects now get symlinked instead of copied. | |
+ install: | | |
+ heroku_cli=$SNAPCRAFT_PART_INSTALL/lib/node_modules/heroku-cli | |
+ rm $heroku_cli | |
+ cp -r . $heroku_cli/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment