Last active
May 31, 2016 22:17
-
-
Save sergiusens/10c87c3d641b30799692acd287c7e364 to your computer and use it in GitHub Desktop.
Parts ecosystem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a project using a part in the cloud using one of the `other-parts` declared for a shared part. | |
parts: | |
my-part: | |
plugin: autotools | |
source: . | |
after: [main.my-other-part] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a project using a part in the cloud using one of the `project-part`s declared for a shared part which would implicitly use the `other-parts` declared there. | |
parts: | |
my-part: | |
plugin: autotools | |
source: . | |
after: [main] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is aprt of a `snapcraft.yaml` in https://github.com/snapcore/some-project.git | |
parts: | |
main: | |
plugin: autotools | |
source: . | |
configflags: [--with-snap-love] | |
after: [my-other-part] | |
my-other-part: | |
plugin: cmake | |
source: somedir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
origin: https://github.com/snapcore/some-project.git | |
maintainer: ... | |
description: this will import correctly | |
main-part: main | |
other-parts: [my-other-part] | |
--- | |
origin: https://github.com/snapcore/some-project.git | |
maintainer: ... | |
description: this will import INCORRECTLY as it is missing `my-other-part` which is needed by `main`. | |
main-part: main | |
--- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment