build: revised build scripts
This commit is contained in:
@@ -48,7 +48,6 @@ function build_type {
|
||||
else
|
||||
build Sourcetrail $1
|
||||
build Sourcetrail_test $1
|
||||
build Sourcetrail_license_generator $1
|
||||
run_tests $1
|
||||
fi
|
||||
}
|
||||
@@ -69,7 +68,7 @@ function run_tests {
|
||||
cd $ROOTDIR
|
||||
}
|
||||
|
||||
#testing before commiting to a publish branch
|
||||
# testing before commiting to a publish branch
|
||||
if [[ ${BRANCH_NAME:0:9} == "_publish_" ]]
|
||||
then
|
||||
echo Try to publish
|
||||
@@ -92,10 +91,4 @@ then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ $BRANCH_NAME == "public_beta" ]
|
||||
then
|
||||
echo -e $ABORT "Commiting to public_beta is prohibited."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user