Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
amzak authored Feb 12, 2018
1 parent 4d49925 commit 1120407
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ Add nimb dir to PATH

### assemblyInfo
```
assemblyinfoOf:
nimbTask assemblyinfoOf:
outputPath = solutionDir
asmVersion = thisVersion
copyright = "Copyright ©"
```
### nugetpack
```
nugetpack:
nimbTask nugetpack:
nugetExecutable = nugetExe
packageId = "you_package_name"
packageVersion = thisVersion.shortWithDirty
Expand All @@ -48,21 +48,21 @@ nugetpack:
```
### nugetpush
```
nugetpush:
nimbTask nugetpush:
nugetExecutable = nugetExe
fromDir = artifactsDir
repoUrl = "your_repo_url"
repoKey = "your_repo_key"
```
### nugetrestore
```
nugetrestore:
nimbTask nugetrestore:
nugetExecutable = nugetExe
dir = solutionDir
```
### nunitrun
```
nunitrun:
nimbTask nunitrun:
assembliesDir = testsDir
packagesDir = nugetPackagesDir
```
Expand Down Expand Up @@ -103,12 +103,12 @@ const
thisVersion = getVersion()
assemblyinfoOf:
nimbTask assemblyinfoOf:
outputPath = solutionDir
asmVersion = thisVersion
copyright = "Copyright ©"
nugetpack:
nimbTask nugetpack:
nugetExecutable = nugetExe
packageId = "CompanyX." & solutionName
packageVersion = thisVersion.shortWithDirty
Expand All @@ -125,32 +125,32 @@ nugetpack:
]
outputDir = artifactsDir
nugetpush:
nimbTask nugetpush:
nugetExecutable = nugetExe
fromDir = artifactsDir
repoUrl = "your_repo_url"
repoKey = "your_repo_key"
nugetrestore:
nimbTask nugetrestore:
nugetExecutable = nugetExe
dir = solutionDir
nunitrun:
nimbTask nunitrun:
assembliesDir = testsDir
packagesDir = nugetPackagesDir
task cleanBuildFolder, "Create clean build folder structure":
nimbTask cleanBuildFolder:
removeDir buildsDir
makeDir buildsDir
task compile, "Compile without restoring deps and versioning":
echo run msbuildExe & " \\\"$1\\\" /verbosity:quiet /nologo /target:Clean;Build /p:Configuration=Release" % [solutionFile]
nimbTask dotnetbuild:
slnFile = solutionFile
task build, "":
nimbExecute:
call nugetrestore
call cleanBuildFolder
call assemblyinfoOf
call compile
call dotnetbuild
call nunitrun
call nugetpack
call nugetpush
Expand Down

0 comments on commit 1120407

Please sign in to comment.