Here’s the current version of the stage
key documentation:
It doesn’t mention that when the stage
key is absent snapcraft will by default stage all files in the install directory.
Also it should mention that when one wants to stage no files for this part one should use the following syntax to exclude all files:
stage:
- -*