apps:
library-sample:
command: library_sample
parts:
library:
source: https://github.com/the/sample.git
plugin: cmake
当 snapcraft 运行cmake
安装时,“库”将安装在系统上(如我所料)。另外,cmake
还会在samples
目录下的文件夹中生成一个测试应用程序build
。
我想将示例(由“部分”生成)推广为 snap 包中的已安装应用程序。
如何使用 snap YAML 从build
文件夹下的嵌套目录移动到 snaps/bin
文件夹?