forked from neopragma/cobol-unit-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
envvars.example
34 lines (32 loc) · 1.31 KB
/
envvars.example
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
32
33
#=====================================================================
# Source this file in the project root directory.
#
# Example:
#
# . envvars
#
# VERSION The version string for the entire project
# Returned by various scripts with -v | --version option
# PROJECT Path to the project root directory
# MAINSRC Path to the application Cobol source
# TESTSRC Path to the test Cobol source
# MAINCPY Path to the application Cobol copy library
# TESTCPY Path to the unit test copy library
# MAINRSC Path to the application resources directory
# TESTRSC Path to the test resources directory
# TARGET Path to the target binary directory (.so & executables)
# COBCPY Used by GNU Cobol to locate copybooks
# COB_LIBRARY_PATH Used by GNU Cobol to locate .so files
#=====================================================================
export VERSION="0.2.0 Jan 5 2015"
export PROJECT="$(dirname $0)"
export MAINSRC="$PROJECT/src/main/cobol"
export TESTSRC="$PROJECT/src/test/cobol"
export MAINCPY="$MAINSRC/copy"
export TESTCPY="$TESTSRC/unit-tests"
export MAINRSC="$PROJECT/src/main/resources"
export TESTRSC="$PROJECT/src/test/resources"
export TARGET="$PROJECT/target"
export COBCPY="$MAINCPY:$TESTCPY"
export COB_LIBRARY_PATH="$TARGET"
export PATH="$PROJECT:$TARGET:$PATH"