build: script fixes

* regex removed in hook since it was not working on windows.
* fixed method for getting the script's path for windows. using this in setup and clean script.
* fixed missing include in cmakelists
This commit is contained in:
malte_langkabel
2016-04-15 13:57:46 +02:00
parent e68177b634
commit 3cb15f1754
4 changed files with 36 additions and 16 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ function run_tests {
}
#testing before commiting to a publish branch
if [[ $BRANCH_NAME =~ ^_publish_.*_$ ]]
if [[ ${BRANCH_NAME:0:9} == "_publish_" ]]
then
echo Try to publish
echo Run builds and test