OILS / mycpp / run.sh View on Github | oilshell.org

25 lines, 9 significant
1#!/usr/bin/env bash
2#
3# Misc automation.
4#
5# Usage:
6# ./run.sh <function name>
7
8set -o nounset
9set -o pipefail
10set -o errexit
11
12readonly THIS_DIR=$(dirname $(readlink -f $0))
13readonly REPO_ROOT=$THIS_DIR/..
14
15source $THIS_DIR/common.sh # MYPY_REPO
16
17#
18# Utilities
19#
20
21gen-ctags() {
22 ctags -R $MYPY_REPO
23}
24
25"$@"