[config] Fix snap package config file
@@ -42,6 +42,12 @@ parts:
- python # Needed to compile fibers npm package.
build-snaps:
- node/11/stable
+ override-pull: |
+ snapcraftctl pull
+
+ # We need to remove the setup.py file from the root folder of the
+ # repository, otherwise the build process will fail.
+ rm -rf $SNAPCRAFT_PART_SRC/setup.py
override-build: |
snapcraftctl build
