summaryrefslogtreecommitdiff
path: root/service/go
blob: 4c388d91edcc16f8ec1f39a5ffb06885f8fc9b28 (plain)
1
2
3
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
#!/bin/bash

if [ "$1" == 'test' ]; then
        set -e
        pushd ..
        make test_py
        popd
elif [ "$1" == 'pep8' ]; then
        set -e
        pushd ..
        make linters_js
        popd
elif [ "$1" == 'setup' ]; then
        set -e
        pushd ..
        make setup
        popd
elif [ "$1" == 'coverage_all' ]; then
        set -e
        pushd ..
        make coverage
        popd
elif [ "$1" == "functional" ]; then
        set -e
        pushd ..
        make test_functional
        popd
else
        echo "Command doesn't exist"
fi