"Fossies" - the Fresh Open Source Software Archive

Member "fd-8.1.1/ci/script.bash" (25 May 2020, 265 Bytes) of package /linux/privat/fd-8.1.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/usr/bin/env bash
    2 
    3 set -ex
    4 
    5 # Incorporate TARGET env var to the build and test process
    6 cargo build --target "$TARGET" --verbose
    7 
    8 # We cannot run arm executables on linux
    9 if [[ $TARGET != arm-unknown-linux-* ]]; then
   10     cargo test --target "$TARGET" --verbose
   11 fi