summaryrefslogtreecommitdiff
path: root/test.lorry
diff options
context:
space:
mode:
authorAdam Coldrick <adam@sotk.co.uk>2016-10-06 22:01:54 +0100
committerAdam Coldrick <adam@sotk.co.uk>2016-10-06 22:35:24 +0100
commitdd9f0de2bc8aadb57f20ce998fcdefbda91f59b6 (patch)
treee9eccb2aeaa5648056bfaa1491d2c1e8e53ec727 /test.lorry
parentc06dc5acf0e712827ca52d6611c3b13dab6744fd (diff)
downloadlorry-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.lorry26
1 files changed, 10 insertions, 16 deletions
diff --git a/test.lorry b/test.lorry
index 57f21cc..c7b933e 100644
--- a/test.lorry
+++ b/test.lorry
@@ -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