TIBCO Scribe® Platform API Connector Sample — Build

Builds for this project are automated via the F# MAKE, also known as the FAKE, tool. To run a particular build target use the following command:

  • Windows — build <target-name>
  • macOS, Linux — bash build.sh <target-name>

    Not all build targets can be run on macOS or Linux

Build Targets

Help

  • Prints information about all build targets in the build script
  • Is a default target

Clean

  • Recursively removes output directory

ZipSources

  • Adds copyright to all .cs-files
  • Packs all source files to zip-archive
  • Puts zip-archive into release folder

SetAssemblyMetadata

  • Puts metadata into SolutionAssemblyInfo.cs

Build

  • Rebuilds solution in Release mode to the output directory

ZipBinaries

  • Packs production-only assemblies to zip-archive. Test dependencies are not included in the archive
  • Puts zip-archive into release folder

RunUnitTests

  • Runs unit tests from *Test.dll under xUnit2 test runner
  • Stores reports in the reports directory

RunUnitTestsWithCoverage

  • Runs unit tests from *Test.dll under xUnit2 test runner and dotCover
  • Stores reports in the reports directory

ZipReports

  • Packs reports directory into zip-archive and puts it into the release folder

ContinuousIntegration

  • Clean
  • SetAssemblyMetadata
  • ZipSources
  • Build
  • ZipBinaries
  • RunUnitTestsWithCoverage
  • ZipReports

 

See

TIBCO Scribe® Platform API Connector Sample

TIBCO Scribe® Platform API Connector Sample — Solution Structure

TIBCO Scribe® Platform API Connector Sample — Dependencies