summaryrefslogtreecommitdiff
path: root/service/go
blob: 0183c7b2dfc43281ce65efc314d9f8a237154e56 (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
31
#!/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"
        exit 1
fi