summaryrefslogtreecommitdiff
path: root/yarns/implementations.yarn
diff options
context:
space:
mode:
Diffstat (limited to 'yarns/implementations.yarn')
-rw-r--r--yarns/implementations.yarn14
1 files changed, 14 insertions, 0 deletions
diff --git a/yarns/implementations.yarn b/yarns/implementations.yarn
index d32bfd61..e670e502 100644
--- a/yarns/implementations.yarn
+++ b/yarns/implementations.yarn
@@ -820,6 +820,15 @@ Altering morphologies in their source repositories
Altering morphologies in the workspace
--------------------------------------
+### Altering chunks ###
+
+ IMPLEMENTS GIVEN a chunk morphology called (\S+) in system branch (\S+) with (\S+) (.+)
+ name="$MATCH_1"
+ branch="$MATCH_2"
+ cp "$DATADIR/gits/test-chunk/test-chunk.morph" "$DATADIR/workspace/$branch/test/morphs/$name"
+ "$SRCDIR/scripts/edit-morph" "chunk-add-$MATCH_3" \
+ "$DATADIR/workspace/$branch/test/morphs/$name" "$MATCH_4"
+
### Altering strata ###
IMPLEMENTS GIVEN stratum (\S+) in system branch (\S+) has match rules: (.*)
@@ -827,6 +836,11 @@ Altering morphologies in the workspace
"$SRCDIR/scripts/edit-morph" set-stratum-match-rules \
"$MATCH_1" "$MATCH_3"
+ IMPLEMENTS GIVEN the chunk spec (\S+) in the stratum (\S+) in branch (\S+) has (\S+) set to (\S+)
+ cd "$DATADIR/workspace/$MATCH_3/test/morphs"
+ "$SRCDIR/scripts/edit-morph" edit-chunk-spec \
+ "$MATCH_1" "$MATCH_2" "$MATCH_4" "$MATCH_5"
+
### Altering clusters ###
IMPLEMENTS GIVEN a cluster called (\S+) in system branch (\S+)