summaryrefslogtreecommitdiff
path: root/tests.build/build-system-python-distutils.script
diff options
context:
space:
mode:
Diffstat (limited to 'tests.build/build-system-python-distutils.script')
-rwxr-xr-xtests.build/build-system-python-distutils.script31
1 files changed, 12 insertions, 19 deletions
diff --git a/tests.build/build-system-python-distutils.script b/tests.build/build-system-python-distutils.script
index e1dccb4b..9a751491 100755
--- a/tests.build/build-system-python-distutils.script
+++ b/tests.build/build-system-python-distutils.script
@@ -41,11 +41,9 @@ EOF
git add setup.py
cat <<EOF >hello.morph
-{
- "name": "hello",
- "kind": "chunk",
- "build-system": "python-distutils"
-}
+name: hello
+kind: chunk
+build-system: python-distutils
EOF
git add hello.morph
@@ -55,20 +53,15 @@ git commit --quiet -m 'convert hello into a python 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"