diff options
Diffstat (limited to 'yarns/implementations.yarn')
-rw-r--r-- | yarns/implementations.yarn | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/yarns/implementations.yarn b/yarns/implementations.yarn index 5b9b39df..b4d8e7ce 100644 --- a/yarns/implementations.yarn +++ b/yarns/implementations.yarn @@ -238,7 +238,7 @@ another to hold a chunk. - | for cfgfile in test.conf README; do - install -D -m 644 /dev/null "$DESTDIR/$PREFIX/etc/test.d/$cfgfile" + install -D -m 644 /dev/null "$DESTDIR/etc/test.d/$cfgfile" done EOF @@ -797,3 +797,30 @@ Implementations for tarball inspection IMPLEMENTS THEN tarball (\S+) doesn't contain (.*) ! tar -tf "$DATADIR/$MATCH_1" | grep -Fe "$MATCH_2" + +Implementations for morphology manipulation +========================================== + +Altering morphologies in their source repositories +-------------------------------------------------- + + IMPLEMENTS GIVEN system (\S+) uses (.+) from (\S+) + "$SRCDIR/scripts/edit-morph" set-system-artifact-depends \ + "$DATADIR/gits/morphs/$MATCH_1.morph" "$MATCH_3" "$MATCH_2" + run_in "$DATADIR/gits/morphs" git add "$MATCH_1.morph" + run_in "$DATADIR/gits/morphs" git commit -m "Make $MATCH_1 only use $MATCH_2" + + IMPLEMENTS GIVEN stratum (\S+) has match rules: (.*) + cd "$DATADIR/gits/morphs" + "$SRCDIR/scripts/edit-morph" set-stratum-match-rules \ + "$MATCH_1.morph" "$MATCH_2" + git add "$MATCH_1.morph" + git commit -m "Make $MATCH_1 match $MATCH_2" + +Altering morphologies in the workspace +-------------------------------------- + + IMPLEMENTS GIVEN stratum (\S+) in system branch (\S+) has match rules: (.*) + cd "$DATADIR/workspace/$MATCH_2/test:morphs" + "$SRCDIR/scripts/edit-morph" set-stratum-match-rules \ + "$MATCH_1.morph" "$MATCH_3" |