Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_build-commons.sh « coreclr « src - github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8bac206f28ff4daa514f7b5447543811e817b342 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/env bash

usage_list+=("-coverage: optional argument to enable code coverage build (currently supported only for Linux and OSX).")
usage_list+=("-skipmanaged: do not build managed components.")
usage_list+=("-skipnative: do not build native components.")

handle_arguments() {

    case "$1" in
        coverage|-coverage)
            __CodeCoverage=1
            ;;

        skipmanaged|-skipmanaged)
            __SkipManaged=1
            __BuildTestWrappers=0
            ;;

        skipnative|-skipnative)
            __SkipNative=1
            __SkipCoreCLR=1
            __CopyNativeProjectsAfterCombinedTestBuild=false
            ;;

        *)
            handle_arguments_local "$1"
            ;;
    esac
}

source "$__RepoRootDir"/eng/native/build-commons.sh