Skip to content

Commit

Permalink
Update packaging script.
Browse files Browse the repository at this point in the history
  • Loading branch information
speps committed Apr 8, 2017
1 parent 780274d commit 67de518
Show file tree
Hide file tree
Showing 16 changed files with 15 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Build/UnityPackageCurrentBranch.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@ setlocal

call UpdateUnityProject.bat

copy ..\MITLicense.txt ..\XInputUnity\Assets\XInputDotNet\
echo "Up-to-date documentation at: https://github.com/speps/XInputDotNet" > ..\XInputUnity5\Assets\XInputDotNet\Docs.txt
copy ..\MITLicense.txt ..\XInputUnity5\Assets\XInputDotNet\

set /P _version=Enter version || set _version=NONE
if "%_version%"=="NONE" goto :error

set _version=XInputDotNet-%_version%.unityPackage
set _projectPath=%~dp0..\XInputUnity
set _projectPath=%~dp0..\XInputUnity5

"C:\Program Files (x86)\Unity\Editor\Unity.exe" -batchmode -projectPath "%_projectPath%" -exportPackage "Assets\Plugins" "Assets\XInputDotNet" "..\Build\%_version%" -quit
echo Building package %_version% from %_projectPath%
"C:\Program Files\Unity\Editor\Unity.exe" -batchmode -projectPath "%_projectPath%" -exportPackage "Assets\XInputDotNet" "..\Build\%_version%" -quit

goto :eof

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified XInputUnity4/XInputInterfaceX64.dll
Binary file not shown.
Binary file modified XInputUnity4/XInputInterfaceX86.dll
Binary file not shown.
1 change: 1 addition & 0 deletions XInputUnity5/Assets/XInputDotNet/Docs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"Up-to-date documentation at: https://github.com/speps/XInputDotNet"
8 changes: 8 additions & 0 deletions XInputUnity5/Assets/XInputDotNet/Docs.txt.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified XInputUnity5/XInputInterfaceX64.dll
Binary file not shown.
Binary file modified XInputUnity5/XInputInterfaceX86.dll
Binary file not shown.
1 change: 1 addition & 0 deletions XInputUnity5/XInputUnity5.CSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
<Compile Include="Assets\XInputDotNet\Examples\XInputTestCS.cs" />
</ItemGroup>
<ItemGroup>
<None Include="Assets\XInputDotNet\Docs.txt" />
<None Include="Assets\XInputDotNet\MITLicense.txt" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\SyntaxTree\UnityVS\2015\UnityVS.CSharp.targets" />
Expand Down

0 comments on commit 67de518

Please sign in to comment.