diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-12-07 18:02:08 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-12-07 18:02:08 +0100 |
commit | dcc9d0713b08090bc386e4124144b6c94829b618 (patch) | |
tree | d7aa96395b984f5fcb053084aeeb88a27d75f059 /examples | |
parent | 6d5b427fda5a74a7c0302e892a23b5229fc18dea (diff) | |
parent | cf7acd0af100bd6dc21b87dc4308699bc144b35a (diff) |
Merge branch 'named-sources' into master
Diffstat (limited to 'examples')
-rw-r--r-- | examples/packages/example_3/pkg.toml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/packages/example_3/pkg.toml b/examples/packages/example_3/pkg.toml index 1e3cda8..c8cd1cf 100644 --- a/examples/packages/example_3/pkg.toml +++ b/examples/packages/example_3/pkg.toml @@ -4,7 +4,7 @@ version_is_semver = false # no patches by default patches = [] -[[sources]] +[sources.src] url = "https://github.com/user/repo/archive/sources.tar.gz" hash.type = "sha1" hash.hash = "5e8bcaa3c758f84f01935a914e2bbf01309462ae" @@ -18,6 +18,12 @@ runtime = [] [phases] unpack.script = ''' + {{#each sources}} + echo "{{@key}} {{this.url}}" + echo " {{this.hash.hash}}" + ls /inputs/{{@key}}-{{this.hash.hash}}.source + {{/each}} + mkdir /build echo "#BUTIDO:PHASE:unpack" ''' |