mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +08:00
Added Full Build configuration to BCL project & updated build task
This commit is contained in:
59
BCL.csproj
59
BCL.csproj
@ -23,9 +23,12 @@
|
||||
<PropertyGroup>
|
||||
<RootNamespace>BCL</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'iOS'">
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Full'">
|
||||
<OutputPath>bin\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'iOS'">
|
||||
<OutputPath>bin\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Android'">
|
||||
<OutputPath>bin\</OutputPath>
|
||||
</PropertyGroup>
|
||||
@ -144,8 +147,6 @@
|
||||
<TypeScriptCompile Include="utils\module-merge.ts" />
|
||||
<TypeScriptCompile Include="utils\utils_android.ts" />
|
||||
<TypeScriptCompile Include="utils\utils_ios.ts" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<TypeScriptCompile Include="http\index.ts" />
|
||||
<TypeScriptCompile Include="location\index.ts" />
|
||||
<TypeScriptCompile Include="file-system\index.ts" />
|
||||
@ -181,7 +182,7 @@
|
||||
<TypeScriptCompile Include="http\http.ios.ts">
|
||||
<DependentUpon>http.d.ts</DependentUpon>
|
||||
</TypeScriptCompile>
|
||||
<Content Include="image-source\Readme.md" />
|
||||
|
||||
<TypeScriptCompile Include="http\http.d.ts" />
|
||||
<TypeScriptCompile Include="local-settings\index.ts" />
|
||||
<TypeScriptCompile Include="local-settings\local-settings.d.ts" />
|
||||
@ -206,45 +207,35 @@
|
||||
<TypeScriptCompile Include="location\location.impl.ts">
|
||||
<DependentUpon>location.d.ts</DependentUpon>
|
||||
</TypeScriptCompile>
|
||||
<Content Include="_references.ts" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<TypeScriptCompile Include="libjs.d.ts" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="_references.ts" />
|
||||
<Content Include="image-source\Readme.md" />
|
||||
<Content Include="http\Readme.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Readme.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="console\Readme.md" />
|
||||
<Content Include="location\Readme.md" />
|
||||
<Content Include="application\Readme.md" />
|
||||
<Content Include="globals\Readme.md" />
|
||||
<Content Include="timer\Readme.md" />
|
||||
<Content Include="Deploy\Readme.md" />
|
||||
<Content Include="Tests\Readme.md" />
|
||||
<Content Include="local-settings\Readme.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Deploy\Eclipse\" />
|
||||
<Folder Include="Deploy\Full\" />
|
||||
<Folder Include="Deploy\xCode\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="location\Readme.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="application\Readme.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="globals\Readme.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="timer\Readme.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Deploy\Readme.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Tests\Readme.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="local-settings\Readme.md" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Full'">
|
||||
<TypeScriptModuleKind>commonjs</TypeScriptModuleKind>
|
||||
<TypeScriptRemoveComments>True</TypeScriptRemoveComments>
|
||||
<TypeScriptSourceMap>True</TypeScriptSourceMap>
|
||||
<TypeScriptTarget>ES5</TypeScriptTarget>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'iOS'">
|
||||
<TypeScriptModuleKind>commonjs</TypeScriptModuleKind>
|
||||
<TypeScriptRemoveComments>True</TypeScriptRemoveComments>
|
||||
@ -288,6 +279,10 @@
|
||||
<!--
|
||||
Custom build tasks
|
||||
-->
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Full'">
|
||||
<TargetOS>Full</TargetOS>
|
||||
<JSConfig>Deploy\Full\Configuration.xml</JSConfig>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'iOS'">
|
||||
<TargetOS>iOS</TargetOS>
|
||||
</PropertyGroup>
|
||||
@ -323,7 +318,9 @@
|
||||
</PropertyGroup>
|
||||
<UsingTask TaskName="BuildTasks.CopyForPlatformBuildTask" AssemblyFile="../../Build/lib/BuildTasks.dll" />
|
||||
<Target Name="AfterBuild">
|
||||
<CopyForPlatformBuildTask TargetPlatform="$(TargetOS)" IncludeTests="$(CopyTests)" Platforms="iOS;Android" InputFiles="@(GeneratedJavascript)" DestinationFolder="$(OutputPath)\$(Configuration)\" JSConfigFile="$(JSConfig)" AppMainJSFile="$(JSMainFile)" />
|
||||
<CopyForPlatformBuildTask TargetPlatform="$(TargetOS)" IncludeTests="$(CopyTests)" Platforms="iOS;Android"
|
||||
InputFiles="@(GeneratedJavascript)" DestinationFolder="$(OutputPath)\$(Configuration)\"
|
||||
JSConfigFile="$(JSConfig)" AppMainJSFile="$(JSMainFile)" ProjectDir="$(ProjectDir)"/>
|
||||
</Target>
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>
|
||||
|
2
BCL.sln
2
BCL.sln
@ -9,6 +9,7 @@ Global
|
||||
Android_Tests|Any CPU = Android_Tests|Any CPU
|
||||
Android|Any CPU = Android|Any CPU
|
||||
Documentation|Any CPU = Documentation|Any CPU
|
||||
Full|Any CPU = Full|Any CPU
|
||||
iOS_Deploy|Any CPU = iOS_Deploy|Any CPU
|
||||
iOS_Tests|Any CPU = iOS_Tests|Any CPU
|
||||
iOS|Any CPU = iOS|Any CPU
|
||||
@ -22,6 +23,7 @@ Global
|
||||
{2313F1BF-1F2D-4F11-806A-87927FA6A7C0}.Android|Any CPU.Build.0 = Android|Any CPU
|
||||
{2313F1BF-1F2D-4F11-806A-87927FA6A7C0}.Documentation|Any CPU.ActiveCfg = Documentation|Any CPU
|
||||
{2313F1BF-1F2D-4F11-806A-87927FA6A7C0}.Documentation|Any CPU.Build.0 = Documentation|Any CPU
|
||||
{2313F1BF-1F2D-4F11-806A-87927FA6A7C0}.Full|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2313F1BF-1F2D-4F11-806A-87927FA6A7C0}.iOS_Deploy|Any CPU.ActiveCfg = iOS_Deploy|Any CPU
|
||||
{2313F1BF-1F2D-4F11-806A-87927FA6A7C0}.iOS_Deploy|Any CPU.Build.0 = iOS_Deploy|Any CPU
|
||||
{2313F1BF-1F2D-4F11-806A-87927FA6A7C0}.iOS_Tests|Any CPU.ActiveCfg = iOS_Tests|Any CPU
|
||||
|
1
Deploy/Full/.gitignore
vendored
Normal file
1
Deploy/Full/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/Configuration.xml
|
Reference in New Issue
Block a user