- Updated libs
- Updated libs
- Changed: Cake.Coverlet version fixed to 2.4.2
- Changed: Cake.Coverlet version fixed to 2.2.1
- Changed: coverlet.msbuild updated to 2.6.1
- Changed: ArgumentOrEnvVar compares arg name ignoring case
- UploadPackagedIfNeeded with detailed information
- UploadPackagedIfNeeded uses ForceUploadPackages
- GetTestProjectsFunc can be used to override default test project search
- Fixed IsPullRequest evaluation for travis
- Added version dump on build
- Added IsPullRequest evaluation for travis
- Changed: UploadPackaged disabled for PullRequests
- Fixed: AddReadme template placeholders fill
- Changed: Added more package props to common.props
- Changed: coverlet.msbuild updated to 2.5.0
- Fixed: AddReadme statuses section generation
- Changed: ReleaseNotes limited by 5 last versions by default
- Added:
HasEnvironmentVariableIgnoreCase
,EnvironmentVariableIgnoreCase
- Added:
BuildDirectory
andBuildSamples
- Added:
GetReleaseNotes
from ChangeLog andGetMarkdownParagraph
- Changed: Added chaining for building and testing methods
- Added:
AddReadme
target (Adds filled readme), task added toInit
task - Added:
UpdateReadmeBadges
target (Updates statuses section in readme) - Added KeyEqualityComparer for customizing key comparation
- Fixed: HasValue for ParamValue where T is ValueType
- Added:
SetEmptyValues
for ScriptParam to treat some values as NoValue - Changed:
TestSourceLink
option value is true for CI servers because local builds are often not committed. - Fixed: Bug "Default value for ParamValue treats as NoValue"
- Added:
CodeCoverage
task - Added: Coverlet CodeCoverage. see
UseCoverlet
- Added: Task
UploadCoverageReportsToCoveralls
to upload coverage results to coveralls.io - Added: ScriptParam
COVERALLS_REPO_TOKEN
to target caveralls.io project - Added:
CodeCoverage
andUploadCoverageReportsToCoveralls
added toTravis
task - Added: Directory.Build.props for Tests
- Changed:
CopyPackagesToArtifacts
placed afterBuild
task becauseTest
andCodeCoverage
can build projects with other build parameters
- Added:
PrintHeader
for header printing using Figlet, addedHeader
param. - Added: functional stuff
- Fixed: Value override for list params
- Changed:
PrintParams
prints the same info that on build
- Bugfix: fixed build.sh script path
- Added task
UploadTestResultsToAppVeyor
toAppVeyor
task - Added task
AddAppVeyorFile
- New:
AddFileFromTemplate
supports options and can fill template from params - Changes:
ArtifactsDir
now is inRootDir
by default - Changes:
TestResultsDir
is the child ofArtifactsDir
- Changes:
PackagesDir
is the child ofArtifactsDir
- Bugfix:
DefaultValue
ParamSource is now always at the and of GetValueChain
The first major version.
- Includes main tasks: Init, Default, Travis, AppVeyor
- Task
Init
runs: CreateProjectStructure, CheckOrDownloadGitIgnore, GitIgnoreAddCakeRule, CreateProjects, EditorConfig, SourceLink, CreateCommonProjectFile, AddTravisFile, AddCakeBootstrapFiles, AddChangeLog, AddStyleCop - Task
Default
runs: Build, Test, CopyPackagesToArtifacts - Task
Travis
runs: DoVersioning, Build, Test, CopyPackagesToArtifacts, UploadPackages - Task
AppVeyor
runs: Build, Test - All scripts builded on concepts:
- ScriptArgs contains all script params
- ScriptParam:
- Can be initializes from command line args, environment variables
- Can be initialized from attributes: DefaultValue, ScriptParamAttribute
- Evaluates by conventions
- Can contain list values
- Scripts splitted on several files
- Extended customization
- VersionParam
- used NugetSource, removed old non list nuget_sourceX params
- Removed ScriptParamFactory - all factory methods moved to ScriptParam for simplicity
- AutoCreation script params with Initialize methods. Initialize creates script param, initializes param from attributes, sets default getters from arguments and from environment variables.
- Added overriden operator
/
that combinesScriptParam<DirectoryPath>
with string and gets combined DirectoryPath
- Redesigned ScriptParam and ScriptArgs
- New Targets: AddTravisFile, CopyPackagesToArtifacts, UploadPackages, AddStyleCop
- Added versioning (Manual and for some CI)
- Added generate package on build
- Added build.sh to resources and AddCakeBootstrapFiles target
- Build and Test moved to build.cake
- Added many common util methods
- Scenarios moved from common
- DotNetPack with releaseNotes
- Common props created
- Added: fill common props from github
- Create version.props
- GetVersionFromCommandLineArgs, ReadTemplate
- Idempotent CreateProjectStructure
- Versioning methods
- Vesion that works from nuget pakage
- Init target: CreateProjectStructure, GitIgnore, CreateProjects, EditorConfig, SourceLink
- Initial version