"Fossies" - the Fresh Open Source Software Archive

Member "ncompress-5.0/travis/main.sh" (2 Feb 2021, 178 Bytes) of package /linux/privat/ncompress-5.0.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 and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "main.sh": 4.2.4.6_vs_5.0.

    1 #!/bin/bash -e
    2 
    3 . "${0%/*}"/lib.sh
    4 
    5 build_make() {
    6     m
    7     m check
    8     m install DESTDIR="${PWD}/root"
    9 }
   10 
   11 build_linux() { build_make; }
   12 
   13 main() {
   14     "build_${TRAVIS_OS_NAME}"
   15 }
   16 main "$@"