Skip to content

Commit

Permalink
Added packaging.
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Leitch committed Jul 3, 2017
1 parent 25d9af7 commit dbd2306
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 1 deletion.
6 changes: 6 additions & 0 deletions BadParser.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BadParser", "BadParser\BadParser.csproj", "{97A18BC7-11F9-4C0A-9651-DB539EE08226}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{B71C9D12-B4D9-4F71-8599-22BD2AA859C6}"
ProjectSection(SolutionItems) = preProject
Build\package.alx = Build\package.alx
Build\package.cmd = Build\package.cmd
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down
4 changes: 3 additions & 1 deletion BadParser/BadParser.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@
<None Include="test_0xdead0001.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="..\README.md" />
<None Include="..\README.md">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="test.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
Expand Down
22 changes: 22 additions & 0 deletions Build/package.alx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#'..\\..\\Aphid\\Build\\package.base';

f = @() string.Format('BadParser\\bin\\{{config}}\\{0}', $_);
f2 = @() $args->f;

package({
name: 'BadParser',
config: 'Debug',
root: '..',
mainModule: f('BadParser.exe'),
files: f2(
'BadParser.pdb',
'README.md',
'test.json',
'test_0xdead0001.json',
'test_0xdead0002.json',
'test_0xdead0003.json',
'test_0xdead0004.json',
'test_0xdead0005.json',
'test_0xdead0006.json',
'test_0xdead0007.json')
});
1 change: 1 addition & 0 deletions Build/package.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
..\..\Aphid\Aphid\bin\Debug\Aphid.exe package.alx

0 comments on commit dbd2306

Please sign in to comment.