diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-07-23 17:48:03 +0100 |
---|---|---|
committer | Baserock Gerrit <gerrit@baserock.org> | 2015-09-18 15:50:19 +0000 |
commit | 81ebe71089d802061c2c3cb03bfd548388d04cb8 (patch) | |
tree | 207ec00ee9ca045825dc52560d6ab6ee36e81e7b /tests.build/setup | |
parent | a4d8098b229592db40565747b0444b518bf8a6eb (diff) | |
download | morph-81ebe71089d802061c2c3cb03bfd548388d04cb8.tar.gz |
Remove support for Baserock definitions format versions 3, 4 and 5
Change-Id: Iad95af65bd5c528d2e72f5b2ffa80a01152f50ff
Diffstat (limited to 'tests.build/setup')
-rwxr-xr-x | tests.build/setup | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/tests.build/setup b/tests.build/setup index 054bdc3e..7936584b 100755 --- a/tests.build/setup +++ b/tests.build/setup @@ -55,19 +55,6 @@ int main(void) EOF git add hello.c -cat <<EOF > hello.morph -name: hello -kind: chunk -build-system: dummy -build-commands: - - gcc -o hello hello.c -install-commands: - - install -d "\$DESTDIR"/etc - - install -d "\$DESTDIR"/bin - - install hello "\$DESTDIR"/bin/hello -EOF -git add hello.morph - git commit --quiet -m "add a hello world program and morph" git checkout --quiet master @@ -81,9 +68,21 @@ mkdir "$morphsrepo" cd "$morphsrepo" git init --quiet -echo 'version: 5' > VERSION +echo 'version: 6' > VERSION git add VERSION +cat <<EOF > hello.morph +name: hello +kind: chunk +build-commands: + - gcc -o hello hello.c +install-commands: + - install -d "\$DESTDIR"/etc + - install -d "\$DESTDIR"/bin + - install hello "\$DESTDIR"/bin/hello +EOF +git add hello.morph + cat <<EOF > hello-stratum.morph name: hello-stratum kind: stratum @@ -91,6 +90,7 @@ chunks: - name: hello repo: test:chunk-repo ref: farrokh + morph: hello.morph build-mode: test build-depends: [] EOF |