diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-08-08 11:10:25 +0000 |
---|---|---|
committer | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-08-14 13:28:50 +0000 |
commit | bba1d9e9f17edf885e857d0ddcf5b6f41e956b10 (patch) | |
tree | a5e5da0b1c02c7c39679d5d8fbba7599b71ab67b /tests.build/build-system-cpan.script | |
parent | a87d850a3b96010dd272bba1624fcf0b230afc6d (diff) | |
download | morph-bba1d9e9f17edf885e857d0ddcf5b6f41e956b10.tar.gz |
cmdtests: Use YAML not JSON to represent morphologies
Diffstat (limited to 'tests.build/build-system-cpan.script')
-rwxr-xr-x | tests.build/build-system-cpan.script | 31 |
1 files changed, 12 insertions, 19 deletions
diff --git a/tests.build/build-system-cpan.script b/tests.build/build-system-cpan.script index f66d4027..735dac84 100755 --- a/tests.build/build-system-cpan.script +++ b/tests.build/build-system-cpan.script @@ -44,11 +44,9 @@ EOF git add Makefile.PL cat <<EOF >hello.morph -{ - "name": "hello", - "kind": "chunk", - "build-system": "cpan" -} +name: hello +kind: chunk +build-system: cpan EOF git add hello.morph @@ -57,20 +55,15 @@ git commit --quiet -m 'convert hello into a perl cpan project' # Set 'prefix' of hello to something custom cd "$DATADIR/morphs-repo" cat <<EOF > hello-stratum.morph -{ - "name": "hello-stratum", - "kind": "stratum", - "chunks": [ - { - "name": "hello", - "repo": "test:chunk-repo", - "ref": "farrokh", - "build-depends": [], - "build-mode": "test", - "prefix": "/" - } - ] -} +name: hello-stratum +kind: stratum +chunks: + - name: hello + repo: test:chunk-repo + ref: farrokh + build-depends: [] + build-mode: test + prefix: / EOF git add hello-stratum.morph git commit -q -m "Set custom install prefix for hello" |