Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

MyGet package publishing #1013

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
JSIL.MsBuild added.
  • Loading branch information
iskiselev committed Jul 21, 2016
commit 59662ad4d534125d4a604b1ca69c959fbf9fb6c3
18 changes: 18 additions & 0 deletions MsBuild/JSIL.MsBuild.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>JSIL.MsBuild</id>
<version>$version$</version>
<authors>Squared Interactive</authors>
<description>JSIL MsBuild Integration</description>
<language>en-US</language>
<projectUrl>https://github.com/sq/JSIL</projectUrl>
<licenseUrl>https://github.com/sq/JSIL/blob/master/LICENSE</licenseUrl>
<dependencies>
<dependency id="JSIL.Compiler" version="[$version$]" />
</dependencies>
</metadata>
<files>
<file src="JSIL.targets" target="build" />
</files>
</package>
6 changes: 6 additions & 0 deletions MsBuild/JSIL.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="JsilTranslation" AfterTarget="AfterBuild">
<Exec Command="$(MSBuildThisFileDirectory)..\..\JSIL.Compiler.$VERSION$\tools\jsilc &quot;$(TargetPath)&quot;" WorkingDirectory="$(TargetDir)" />
</Target>
</Project>
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ install:
build_script:
- msbuild "JSIL.sln" /m /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /P:Platform=NoXNA
after_build:
- ps: (gc MsBuild\JSIL.targets) -replace '$VERSION$', $Env:GitVersion_NuGetVersion | Out-File MsBuild\JSIL.targets
- cmd: nuget pack JSIL.nuspec -version "%GitVersion_NuGetVersion%"
- cmd: nuget pack MsBuild\JSIL.MsBuild.nuspec -version "%GitVersion_NuGetVersion%"
test_script:
- nunit-console-x86 bin\Tests.DCE.dll bin\SimpleTests.dll bin\Tests.dll /include:"FailsOnMono|(FailsOnMonoWhenStubbed+Stubbed)|(FailsOnMonoWhenStubbed+Translated)"
artifacts:
Expand Down