Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
giokoguashvili committed Apr 24, 2017
1 parent acfb7cb commit 63950d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test_script:
& $coveralls --opencover -i opencoverCoverage.xml --repoToken $env:COVERALLS_REPO_TOKEN --useRelativePaths --commitId $env:APPVEYOR_REPO_COMMIT --commitBranch $env:APPVEYOR_REPO_BRANCH --commitAuthor $env:APPVEYOR_REPO_COMMIT_AUTHOR --commitEmail $env:APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL --commitMessage $env:APPVEYOR_REPO_COMMIT_MESSAGE --jobId $env:APPVEYOR_BUILD_NUMBER --serviceName appveyor
before_deploy:
- ps: "$projectName = \"SmartCardApi\"\n$csprojName = $projectName + \".csproj\"\n\nfunction replaceSymbolsInFile($regex, $path) \n{ \n (Get-Content $path) -replace $regex,'' | out-file $path \n}\n\n$testCSFilesRegex = '<Compile Include=\"(\\S+\\.test\\.cs)\" />'\n$csprojPath = \"C:\\cd\\\" + $csprojName\nreplaceSymbolsInFile $testCSFilesRegex $csprojPath\n\n$pakageNames = @(\n \"Nunit\",\n \"OpenCover\",\n \"coveralls.net\"\n)\n$packagesConfigPath = \"C:\\cd\\packages.config\"\nForeach($packageName in $pakageNames) {\n $packagesRegexTemplate = '<package id=\"PACKAGE_NAME\"(.{1,})'\n $packagesRegex = $packagesRegexTemplate -replace \"PACKAGE_NAME\", $packageName\n replaceSymbolsInFile $packagesRegex $packagesConfigPath\n}\n\nnuget pack $csprojPath"
- ps: "$projectName = \"SmartCardApi\"\n$csprojName = $projectName + \".csproj\"\n\nfunction replaceSymbolsInFile($regex, $path) \n{ \n (Get-Content $path) -replace $regex,'' | out-file $path \n}\n\n$testCSFilesRegex = '<Compile Include=\"(\\S+\\.test\\.cs)\" />'\n$csprojPath = \".\\SmartCardApi\\\" + $csprojName\nreplaceSymbolsInFile $testCSFilesRegex $csprojPath\n\n$pakageNames = @(\n \"Nunit\",\n \"OpenCover\",\n \"coveralls.net\"\n)\n$packagesConfigPath = \".\\SmartCardApi\\packages.config\"\nForeach($packageName in $pakageNames) {\n $packagesRegexTemplate = '<package id=\"PACKAGE_NAME\"(.{1,})'\n $packagesRegex = $packagesRegexTemplate -replace \"PACKAGE_NAME\", $packageName\n replaceSymbolsInFile $packagesRegex $packagesConfigPath\n}"
deploy:
- provider: NuGet
api_key:
Expand Down

0 comments on commit 63950d4

Please sign in to comment.