build-script.sh 611 Bytes
Newer Older
1
#!/bin/bash
2

Thanassis Tsiodras's avatar
Thanassis Tsiodras committed
3
taste-update-data-view TPOS_Dataview.asn || exit 0
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

rm -f a.zip
zip a a/*
rm -f b.zip
zip b b/*
rm -f c.zip
zip c c/*

[ ! -z "$CLEANUP" ] && rm -rf binary.linux.*

# C runtime
assert-builder-ocarina.py \
	-f \
	-p \
	--aadlv2 \
	--interfaceView interfaceview.aadl \
	--deploymentView deploymentview.aadl \
	-o binary.linux.pohic \
	--subC a:a.zip \
	--subC b:b.zip \
	--subC c:c.zip

# Ada runtime
assert-builder-ocarina.py \
	-f \
	--aadlv2 \
	--interfaceView interfaceview.aadl \
	--deploymentView deploymentview.aadl \
	-o binary.linux.ada \
	--subC a:a.zip \
	--subC b:b.zip \
	--subC c:c.zip