Skip to content

Commit

Permalink
clean up install bits of the file-manager part
Browse files Browse the repository at this point in the history
  • Loading branch information
ogra1 committed Nov 16, 2020
1 parent 1367403 commit b1b25d0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,12 @@ parts:
fi
npm install
cp -av index.js $SNAPCRAFT_PART_INSTALL/
cp -av node_modules $SNAPCRAFT_PART_INSTALL/
cp -av views $SNAPCRAFT_PART_INSTALL/
cp -av assets $SNAPCRAFT_PART_INSTALL/
# install everything to $SNAPCRAFT_PART_INSTALL
for item in index.js node_modules views assets; do
cp -av $item $SNAPCRAFT_PART_INSTALL/
done
# also install node and npm
cp -av $SNAPCRAFT_PART_SRC/../npm/bin $SNAPCRAFT_PART_INSTALL/
cp -av $SNAPCRAFT_PART_SRC/../npm/lib/node_modules/* $SNAPCRAFT_PART_INSTALL/node_modules/
watcher:
Expand Down

0 comments on commit b1b25d0

Please sign in to comment.