Changes in tools/travis.sh [b752a31:483a3f4] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/travis.sh

    rb752a31 r483a3f4  
    8282fi
    8383
     84# C style check
     85if [ -n "$H_CCHECK" ]; then
     86    echo "Will try to run C style check."
     87    echo
     88    rm -rf tools/sycek
     89    make ccheck || exit 1
     90    echo "C style check passed."
     91    exit 0
     92fi
     93
    8494# Check HelenOS configuration was set-up
    8595if [ -z "$H_ARCH" ]; then
     
    97107
    98108# Custom CROSS_PREFIX
    99 export CROSS_PREFIX=/usr/local/cross-static/
     109if [ ."$CROSS_PREFIX" == . ]; then
     110        export CROSS_PREFIX=/usr/local/cross-static/
     111fi
    100112
    101113# Default Harbours repository
     
    114126    echo "export H_HARBOURS=true"
    115127    echo "export H_HARBOUR_LIST=\"$H_DEFAULT_HARBOURS_LIST\""
     128    echo
     129    echo "or"
     130    echo
     131    echo "export H_CCHECK=true"
    116132    echo
    117133    exit 0
Note: See TracChangeset for help on using the changeset viewer.