diff options
author | Adam Coldrick <adam@sotk.co.uk> | 2016-10-06 22:01:54 +0100 |
---|---|---|
committer | Adam Coldrick <adam@sotk.co.uk> | 2016-10-06 22:35:24 +0100 |
commit | dd9f0de2bc8aadb57f20ce998fcdefbda91f59b6 (patch) | |
tree | e9eccb2aeaa5648056bfaa1491d2c1e8e53ec727 /test.lorry | |
parent | c06dc5acf0e712827ca52d6611c3b13dab6744fd (diff) | |
download | lorry-dd9f0de2bc8aadb57f20ce998fcdefbda91f59b6.tar.gz |
Add support for YAML lorries
If parsing the lorry as YAML fails, we attempt to parse it as JSON
before giving up completely.
Change-Id: I7e3502f5ae9c32e10d63047e5f280bfe1d7e52dc
Diffstat (limited to 'test.lorry')
-rw-r--r-- | test.lorry | 26 |
1 files changed, 10 insertions, 16 deletions
@@ -1,16 +1,10 @@ -{ - "gawk": { - "type": "git", - "url": "git://git.savannah.gnu.org/gawk.git" - }, - "binutils": { - "type": "bzr", - "branches": { - "trunk": "lp:binutils" - } - }, - "bc": { - "type": "tarball", - "url": "http://ftp.gnu.org/gnu/bc/bc-1.06.tar.gz" - } -} +gawk: + type: git + url: git://git.savannah.gnu.org/gawk.git +binutils: + type: bzr + branches: + trunk: lp:binutils +bc: + type: tarball + url: http://ftp.gnu.org/gnu/bc/bc-1.06.tar.gz |