summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-03-11 12:50:32 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-03-11 12:50:32 +0000
commit16cad2432acc307bb5a7877ea9862862144ca95f (patch)
tree0462762a27b4d4fe4379fbb23715002f8ee980e9
parent68395a12c79c22e266b4a06095533e38da6e29d0 (diff)
parent7043159a12db08644153cfb3c5ec2f9f4724866e (diff)
downloadmorph-16cad2432acc307bb5a7877ea9862862144ca95f.tar.gz
Merge branch 'sam/remove-foreach-test'
Reviewed-By: Pedro Alvarez <pedro.alvarez@codethink.co.uk> Reviewed-By: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk>
-rw-r--r--yarns/branches-workspaces.yarn17
-rw-r--r--yarns/implementations.yarn10
2 files changed, 2 insertions, 25 deletions
diff --git a/yarns/branches-workspaces.yarn b/yarns/branches-workspaces.yarn
index a757822e..27bddff5 100644
--- a/yarns/branches-workspaces.yarn
+++ b/yarns/branches-workspaces.yarn
@@ -445,21 +445,8 @@ repositories referenced in the system branch.
THEN morph reports no outstanding changes in foo
FINALLY the git server is shut down
-`morph foreach`
---------------
-
-`morph foreach` runs a shell command in each of the git repos in a system
-branch checkout.
-
- SCENARIO morph foreach runs command in each git repo
- GIVEN a workspace
- AND a git server
- WHEN the user creates a system branch called foo
- AND the user edits the chunk test-chunk in branch foo
- AND running shell command in each repo in foo
- THEN morph ran command in test/morphs in foo
- AND morph ran command in test/test-chunk in foo
- FINALLY the git server is shut down
+Manifests
+---------
Generating a manifest works
diff --git a/yarns/implementations.yarn b/yarns/implementations.yarn
index 2557e2e5..2bbb1f5c 100644
--- a/yarns/implementations.yarn
+++ b/yarns/implementations.yarn
@@ -624,16 +624,6 @@ Reporting status of checked out repositories:
cd "$DATADIR/workspace/$MATCH_2/$(slashify_colons "$MATCH_1")"
git commit -a -m test-commit
-Running shell command in each checked out repository:
-
- IMPLEMENTS WHEN running shell command in each repo in (\S+)
- cd "$DATADIR/workspace/$MATCH_1"
- run_morph foreach -- pwd > "$DATADIR/morph.stdout"
-
- IMPLEMENTS THEN morph ran command in (\S+) in (\S+)
- grep -Fx "$MATCH_1" "$DATADIR/morph.stdout"
- grep -Fx "$DATADIR/workspace/$MATCH_2/$MATCH_1" "$DATADIR/morph.stdout"
-
Generating a manifest.
IMPLEMENTS GIVEN a system artifact