snapcraft.yaml: Install bin/node from node/14/stable
authorAnthony Fok <foka@debian.org>
Mon, 26 Apr 2021 16:17:44 +0000 (10:17 -0600)
committerAnthony Fok <foka@debian.org>
Mon, 26 Apr 2021 16:17:44 +0000 (10:17 -0600)
Resolves regression introduced in my previous commit 243951e.
Special thanks to @jmooring for reporting the issue!

TODO: Strip the bin/node binary?

snap/snapcraft.yaml

index 2503c3eb356738fde41a7ba90d278fb8c15928e2..e87a5ab8f9a409c21fb961959465f51ccd21b26c 100644 (file)
@@ -70,6 +70,13 @@ parts:
       strip --remove-section=.comment --remove-section=.note $SNAPCRAFT_PART_INSTALL/bin/hugo
       ls -l $SNAPCRAFT_PART_INSTALL/bin/hugo
 
+  node:
+    plugin: nil
+    stage-snaps:
+      - node/14/stable
+    prime:
+      - bin/node
+
   pandoc:
     plugin: nil
     stage-packages: