summaryrefslogtreecommitdiffstats
path: root/examples/packages/example_1/pkg.toml
blob: 4f45db0b9d4b0b9569d2789eeb07fb3b3602b9e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# root package definition

# We only use semver here
version_is_semver = true

# environment which is automatically inherited to all other packages
# but can also be overridden in the other packages
environment.FOO = "bar"
environment.BAZ = "bla"

# no patches by default
patches = []

[dependencies]
build           = []
runtime         = []

# Root description of phases
# can be overridden as well
[phases]

unpack.script = '''
    echo UnpackPhase
'''

build.script = '''
    echo BuildPhase
'''

install.script = '''
    echo InstallPhase
'''

package.script = '''
    echo PackagePhase
'''