We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d78ddbe commit 6d929e7Copy full SHA for 6d929e7
1 file changed
tests/spread/general/craftctl/snap/snapcraft.yaml
@@ -11,14 +11,21 @@ build-base: SNAPCRAFT_BUILD_BASE
11
parts:
12
hello:
13
plugin: nil
14
+ build-packages:
15
+ # Note: We add this package explicitly here to make sure that the
16
+ # declaration of Python build packages does not clobber the existing
17
+ # Python installation (with Snapcraft libraries).
18
+ - python3-venv
19
override-pull: |
20
echo -e "#!/usr/bin/env bash\necho hello" > hello.sh
21
chmod +x hello.sh
22
craftctl get grade | grep devel
23
craftctl set version="22"
24
craftctl set grade=stable
25
+ craftctl default
26
override-build: |
27
craftctl get version | grep 22
28
craftctl get grade | grep stable
29
echo "This is the build step"
30
cp hello.sh "$CRAFT_PART_INSTALL"/
31
0 commit comments