summaryrefslogtreecommitdiffstats
path: root/examples/packages/example_1/pkg.toml
blob: ab76e0753e7d692d408f565a71fa2df45521d762 (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
38
39
40
41
42
43
# 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]
system  = []
system_dep_script = ""
system_runtime  = []
system_runtime_dep_script = ""
build   = []
build_dep_script = ""
runtime = []
script = ""

# 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
'''