forked from nikhilk/scriptsharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScripts.csproj
More file actions
50 lines (50 loc) · 2.42 KB
/
Copy pathScripts.csproj
File metadata and controls
50 lines (50 loc) · 2.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{8780581F-7C26-4B64-9236-BA1C458DF36E}</ProjectGuid>
<ToolsPath>..\..\..\tools\bin</ToolsPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<OutputPath>..\..\..\bin\Debug\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<OutputPath>..\..\..\bin\Release\</OutputPath>
</PropertyGroup>
<ItemGroup>
<Content Include="Loader.js" />
<Content Include="Runtime.js" />
</ItemGroup>
<ItemGroup>
<Content Include="Runtime\Collections.js" />
<Content Include="Runtime\String.js" />
<Content Include="Runtime\Misc.js" />
<Content Include="Runtime\Format.js" />
<Content Include="Runtime\Culture.js" />
<Content Include="Runtime\Delegate.js" />
<Content Include="Runtime\Contracts.js" />
<Content Include="Runtime\EventArgs.js" />
<Content Include="Runtime\Observable.js" />
<Content Include="Runtime\StringBuilder.js" />
<Content Include="Runtime\Task.js" />
<Content Include="Runtime\TypeSystem.js" />
</ItemGroup>
<ItemGroup>
<PackageContent Include="Package\package.json" />
<PackageContent Include="Package\readme.md" />
</ItemGroup>
<Target Name="Build">
<Exec Command="$(ToolsPath)\sspp.exe /nologo /debug /d:DEBUG /crlf /input:$(ProjectDir)Runtime.js /output:$(OutputPath)\ss.js" />
<Exec Command="$(ToolsPath)\ajaxmin.exe -hc -clobber:true $(OutputPath)\ss.js -out $(OutputPath)\ss.min.js" />
<Exec Command="$(ToolsPath)\sspp.exe /nologo /debug /d:DEBUG /crlf /input:$(ProjectDir)Loader.js /output:$(OutputPath)\ssloader.js" />
<Exec Command="$(ToolsPath)\ajaxmin.exe -hc -clobber:true $(OutputPath)\ssloader.js -out $(OutputPath)\ssloader.min.js" />
<Copy SourceFiles="@(PackageContent)" DestinationFolder="$(OutputPath)\npm" />
<Copy SourceFiles="$(OutputPath)\ss.js" DestinationFolder="$(OutputPath)\npm" />
</Target>
<Target Name="Clean">
</Target>
<Target Name="Rebuild" DependsOnTargets="Clean;Build" />
</Project>