Ah, hadn't noticed that keyword... but reading the help text doesn't seem like it would help much at least as defined:
- source-subdir: path
Snapcraft will checkout the repository or unpack the archive referred to
by the 'source' keyword into parts/<part-name>/src/ but it will only
copy the specified subdirectory into parts/<part-name>/build/
But I went ahead and tried it, and indeed does not help any. FWIW, also took a quick peek at the go plugin, but it doesn't seem to do anything at all when this option is set.
Ah, hadn't noticed that keyword... but reading the help text doesn't seem like it would help much at least as defined:
- source-subdir: path
Snapcraft will checkout the repository or unpack the archive referred to part-name> /src/ but it will only part-name> /build/
by the 'source' keyword into parts/<
copy the specified subdirectory into parts/<
But I went ahead and tried it, and indeed does not help any. FWIW, also took a quick peek at the go plugin, but it doesn't seem to do anything at all when this option is set.