FAKE - F# Make - A DSL for build tasks and more FAKE
6.1.3

Lookig for older versions of the documentation, pre FAKE v6? See 

v5.fake.build

SanityChecks Module

Contains helper function which can be used for sanity checks.

Functions and values

Function or value Description

SanityChecks.checkIfBranchExists repositoryDir branch

Full Usage: SanityChecks.checkIfBranchExists repositoryDir branch

Parameters:
    repositoryDir : string - The git repository.
    branch : string - The branch name to check

Checks if the given branch exists.

repositoryDir : string

The git repository.

branch : string

The branch name to check

SanityChecks.checkIfBranchIsAbsent repositoryDir branch

Full Usage: SanityChecks.checkIfBranchIsAbsent repositoryDir branch

Parameters:
    repositoryDir : string - The git repository.
    branch : string - The branch name to check

Checks if the given branch is absent.

repositoryDir : string

The git repository.

branch : string

The branch name to check

SanityChecks.checkIsLocalBranch repositoryDir branch

Full Usage: SanityChecks.checkIsLocalBranch repositoryDir branch

Parameters:
    repositoryDir : string - The git repository.
    branch : string - The branch name to check

Checks if the given branch is a local branch.

repositoryDir : string

The git repository.

branch : string

The branch name to check

SanityChecks.checkIsRemoteBranch repositoryDir branch

Full Usage: SanityChecks.checkIsRemoteBranch repositoryDir branch

Parameters:
    repositoryDir : string - The git repository.
    branch : string - The branch name to check

Checks if the given branch is a remote branch.

repositoryDir : string

The git repository.

branch : string

The branch name to check

SanityChecks.checkRevisionExists repositoryDir revision1

Full Usage: SanityChecks.checkRevisionExists repositoryDir revision1

Parameters:
    repositoryDir : string - The git repository.
    revision1 : string - The revision to check for.

Checks if the given branch exists.

repositoryDir : string

The git repository.

revision1 : string

The revision to check for.