build-script.sh 455 Bytes
Newer Older
yoogx's avatar
yoogx committed
1 2
#!/bin/bash

3
export PROJECT_CACHE=$HOME/.taste_AST_cache
yoogx's avatar
yoogx committed
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

rm -f simple_c_function.zip
zip simple_c_function simple_c_function/*

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

# C runtime
assert-builder-ocarina.py \
        -f \
        -p \
        --aadlv2 \
        --keep-case \
        --interfaceView InterfaceView.aadl \
        --deploymentView DeploymentView.aadl \
        -o binary.linux.pohic \
        --subC simple_c_function:simple_c_function.zip