summaryrefslogtreecommitdiff
path: root/yarns/splitting.yarn
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@gmail.com>2014-08-10 20:29:41 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2014-08-12 18:07:41 +0100
commit4d794d475e01363928916f7667a63eed6071f5e2 (patch)
tree522888cbfc00b7ad5d59e4f7ebd1daf7f6324639 /yarns/splitting.yarn
parentd63f41dadf5aa96a8d9254d31e92711ee160245e (diff)
downloadmorph-4d794d475e01363928916f7667a63eed6071f5e2.tar.gz
yarns: Start from petrified refs
This is closer to our current workflow, where we are always petrified and update the ref field when we need to update a component. This required rearranging the operations to create the chunk repository before the definitions repository, and remove a check that assumes we weren't already petrified.
Diffstat (limited to 'yarns/splitting.yarn')
-rw-r--r--yarns/splitting.yarn9
1 files changed, 6 insertions, 3 deletions
diff --git a/yarns/splitting.yarn b/yarns/splitting.yarn
index 1b67a881..d4b942d8 100644
--- a/yarns/splitting.yarn
+++ b/yarns/splitting.yarn
@@ -141,7 +141,8 @@ Implementations
chunks:
- name: test-chunk
repo: test:test-chunk
- ref: master
+ unpetrify-ref: master
+ ref: $(run_in "$DATADIR/gits/test-chunk" git rev-parse master)
morph: test-chunk.morph
build-mode: test
build-depends: []
@@ -189,13 +190,15 @@ Implementations
chunks:
- name: test-chunk
repo: test:test-chunk
- ref: master
morph: test-chunk.morph
+ unpetrify-ref: master
+ ref: $(run_in "$DATADIR/gits/test-chunk" git rev-parse master)
build-mode: test
build-depends: []
- name: unbuildable-chunk
repo: test:test-chunk
- ref: refs/heads/master
+ unpetrify-ref: refs/heads/master
+ ref: $(run_in "$DATADIR/gits/test-chunk" git rev-parse master)
morph: unbuildable-chunk.morph
build-mode: test
build-depends: