|
a |
|
b/deployment/run-unit-tests.sh |
|
|
1 |
#!/bin/bash |
|
|
2 |
# |
|
|
3 |
# This assumes all of the OS-level configuration has been completed and git repo has already been cloned |
|
|
4 |
# |
|
|
5 |
# This script should be run from the repo's deployment directory |
|
|
6 |
# cd deployment |
|
|
7 |
# ./run-unit-tests.sh |
|
|
8 |
# |
|
|
9 |
|
|
|
10 |
# Get reference for all important folders |
|
|
11 |
template_dir="$PWD" |
|
|
12 |
source_dir="$template_dir/../source" |
|
|
13 |
|
|
|
14 |
echo "------------------------------------------------------------------------------" |
|
|
15 |
echo "[Init] Clean old dist and node_modules folders" |
|
|
16 |
echo "------------------------------------------------------------------------------" |
|
|
17 |
|
|
|
18 |
echo "------------------------------------------------------------------------------" |
|
|
19 |
echo "[Test] Services - Example Function" |
|
|
20 |
echo "------------------------------------------------------------------------------" |