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

Use Protobuild for project definitions and package management #739

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Package up JSIL
  • Loading branch information
hach-que committed Sep 19, 2016
commit bb49a05a633a9eb604888bfbf56e717be86094c7
Binary file added Protobuild.exe
Binary file not shown.
4 changes: 4 additions & 0 deletions Publish/JSILc.definition
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<ExternalProject Name="JSILc">
<Tool Name="JSILc" Path="JSIL.Compiler\JSILc.AnyCPU.exe" />
</ExternalProject>
7 changes: 7 additions & 0 deletions Publish/Module.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Module>
<Name>JSIL</Name>
<DefaultAction>resync</DefaultAction>
<DisableSynchronisation>false</DisableSynchronisation>
<GenerateNuGetRepositories>true</GenerateNuGetRepositories>
</Module>
13 changes: 13 additions & 0 deletions Publish/Publish.Windows.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Include Javascript runtime libraries
include ^Libraries/(.*)$
rewrite ^Libraries/(.*)$ JSIL.Compiler/Libraries/$1

# Include JSIL compiler
include ^bin/(.*)$
rewrite ^bin/(.*)$ JSIL.Compiler/$1

# Include module + project
include ^Publish/JSILc\.definition$
rewrite ^Publish/JSILc\.definition$ Build/Projects/JSILc.definition
include ^Publish/Module\.xml$
rewrite ^Publish/Module\.xml$ Build/Module.xml
3 changes: 2 additions & 1 deletion build_windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ nuget.exe restore JSIL.sln
cd packages\Npm.3.5.2\node_modules\npm
cmd /C "npm install"
cd ..\..\..\..
"C:\Program Files (x86)\MSBuild\14.0\Bin\amd64\msbuild.exe" "JSIL.sln" /m /verbosity:minimal /P:Platform=NoXNA
"C:\Program Files (x86)\MSBuild\14.0\Bin\amd64\msbuild.exe" "JSIL.sln" /m /verbosity:minimal /P:Platform=NoXNA
Protobuild.exe --pack . Windows.tar.lzma Windows Publish.Windows.txt