Relocate native programs to deps/ subdirectory of the current executable

This layout is `cargo build` compatible, no post-build file moves
required.
This commit is contained in:
Michael Vines
2018-12-08 10:43:02 -08:00
parent 3a13ecba1f
commit f5569e76db
6 changed files with 18 additions and 14 deletions

View File

@@ -95,7 +95,8 @@ parts:
cargo install --path . --root $SNAPCRAFT_PART_INSTALL --bins
# Install native programs
./scripts/install-native-programs.sh $SNAPCRAFT_PART_INSTALL/bin/ release
mkdir -p $SNAPCRAFT_PART_INSTALL/bin/deps/
./scripts/install-native-programs.sh $SNAPCRAFT_PART_INSTALL/bin/deps/ release
# Install multinode-demo/
mkdir -p $SNAPCRAFT_PART_INSTALL/multinode-demo/