test: updated custom command test to index python code

This commit is contained in:
mlangkabel
2019-02-04 17:44:41 +01:00
parent 82a3c06a9d
commit 0ce7d93cef
14 changed files with 94 additions and 44 deletions
@@ -0,0 +1,17 @@
#!/bin/bash
# get absolute path to parent directory of script
MY_PATH=`dirname "$0"`
if [[ "${MY_PATH}" != *\\* ]]
then
cd $MY_PATH
MY_PATH=`pwd`
fi
MY_PATH="${MY_PATH//\\//}"
WORKING_COPY_PATH=$MY_PATH/working_copy
echo "" >> $WORKING_COPY_PATH/src/bar.py
echo "Update Complete"