build-script.sh 620 Bytes
Newer Older
Maxime Perrotin's avatar
Maxime Perrotin committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

mkdir -p .cache
export PROJECT_CACHE=$HOME/.taste_AST_cache

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 \
20
21
	--interfaceView InterfaceView.aadl \
	--deploymentView DeploymentView.aadl \
Maxime Perrotin's avatar
Maxime Perrotin committed
22
23
24
25
26
27
28
29
30
	-o binary.linux.pohic \
	--subC a:a.zip \
	--subC b:b.zip \
	--subC c:c.zip

# Ada runtime
assert-builder-ocarina.py \
	-f \
	--aadlv2 \
31
32
	--interfaceView InterfaceView.aadl \
	--deploymentView DeploymentView.aadl \
Maxime Perrotin's avatar
Maxime Perrotin committed
33
34
35
36
	-o binary.linux.ada \
	--subC a:a.zip \
	--subC b:b.zip \
	--subC c:c.zip