mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
Added Full Build configuration to BCL project & updated build task
This commit is contained in:
57
BCL.csproj
57
BCL.csproj
@ -23,6 +23,9 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<RootNamespace>BCL</RootNamespace>
|
<RootNamespace>BCL</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)' == 'Full'">
|
||||||
|
<OutputPath>bin\</OutputPath>
|
||||||
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)' == 'iOS'">
|
<PropertyGroup Condition="'$(Configuration)' == 'iOS'">
|
||||||
<OutputPath>bin\</OutputPath>
|
<OutputPath>bin\</OutputPath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@ -144,8 +147,6 @@
|
|||||||
<TypeScriptCompile Include="utils\module-merge.ts" />
|
<TypeScriptCompile Include="utils\module-merge.ts" />
|
||||||
<TypeScriptCompile Include="utils\utils_android.ts" />
|
<TypeScriptCompile Include="utils\utils_android.ts" />
|
||||||
<TypeScriptCompile Include="utils\utils_ios.ts" />
|
<TypeScriptCompile Include="utils\utils_ios.ts" />
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<TypeScriptCompile Include="http\index.ts" />
|
<TypeScriptCompile Include="http\index.ts" />
|
||||||
<TypeScriptCompile Include="location\index.ts" />
|
<TypeScriptCompile Include="location\index.ts" />
|
||||||
<TypeScriptCompile Include="file-system\index.ts" />
|
<TypeScriptCompile Include="file-system\index.ts" />
|
||||||
@ -181,7 +182,7 @@
|
|||||||
<TypeScriptCompile Include="http\http.ios.ts">
|
<TypeScriptCompile Include="http\http.ios.ts">
|
||||||
<DependentUpon>http.d.ts</DependentUpon>
|
<DependentUpon>http.d.ts</DependentUpon>
|
||||||
</TypeScriptCompile>
|
</TypeScriptCompile>
|
||||||
<Content Include="image-source\Readme.md" />
|
|
||||||
<TypeScriptCompile Include="http\http.d.ts" />
|
<TypeScriptCompile Include="http\http.d.ts" />
|
||||||
<TypeScriptCompile Include="local-settings\index.ts" />
|
<TypeScriptCompile Include="local-settings\index.ts" />
|
||||||
<TypeScriptCompile Include="local-settings\local-settings.d.ts" />
|
<TypeScriptCompile Include="local-settings\local-settings.d.ts" />
|
||||||
@ -206,45 +207,35 @@
|
|||||||
<TypeScriptCompile Include="location\location.impl.ts">
|
<TypeScriptCompile Include="location\location.impl.ts">
|
||||||
<DependentUpon>location.d.ts</DependentUpon>
|
<DependentUpon>location.d.ts</DependentUpon>
|
||||||
</TypeScriptCompile>
|
</TypeScriptCompile>
|
||||||
<Content Include="_references.ts" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<TypeScriptCompile Include="libjs.d.ts" />
|
<TypeScriptCompile Include="libjs.d.ts" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Content Include="_references.ts" />
|
||||||
|
<Content Include="image-source\Readme.md" />
|
||||||
<Content Include="http\Readme.md" />
|
<Content Include="http\Readme.md" />
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Content Include="Readme.md" />
|
<Content Include="Readme.md" />
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Content Include="console\Readme.md" />
|
<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>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="Deploy\Eclipse\" />
|
<Folder Include="Deploy\Eclipse\" />
|
||||||
|
<Folder Include="Deploy\Full\" />
|
||||||
<Folder Include="Deploy\xCode\" />
|
<Folder Include="Deploy\xCode\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<PropertyGroup Condition="'$(Configuration)' == 'Full'">
|
||||||
<Content Include="location\Readme.md" />
|
<TypeScriptModuleKind>commonjs</TypeScriptModuleKind>
|
||||||
</ItemGroup>
|
<TypeScriptRemoveComments>True</TypeScriptRemoveComments>
|
||||||
<ItemGroup>
|
<TypeScriptSourceMap>True</TypeScriptSourceMap>
|
||||||
<Content Include="application\Readme.md" />
|
<TypeScriptTarget>ES5</TypeScriptTarget>
|
||||||
</ItemGroup>
|
</PropertyGroup>
|
||||||
<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)' == 'iOS'">
|
<PropertyGroup Condition="'$(Configuration)' == 'iOS'">
|
||||||
<TypeScriptModuleKind>commonjs</TypeScriptModuleKind>
|
<TypeScriptModuleKind>commonjs</TypeScriptModuleKind>
|
||||||
<TypeScriptRemoveComments>True</TypeScriptRemoveComments>
|
<TypeScriptRemoveComments>True</TypeScriptRemoveComments>
|
||||||
@ -288,6 +279,10 @@
|
|||||||
<!--
|
<!--
|
||||||
Custom build tasks
|
Custom build tasks
|
||||||
-->
|
-->
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)' == 'Full'">
|
||||||
|
<TargetOS>Full</TargetOS>
|
||||||
|
<JSConfig>Deploy\Full\Configuration.xml</JSConfig>
|
||||||
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)' == 'iOS'">
|
<PropertyGroup Condition=" '$(Configuration)' == 'iOS'">
|
||||||
<TargetOS>iOS</TargetOS>
|
<TargetOS>iOS</TargetOS>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@ -323,7 +318,9 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<UsingTask TaskName="BuildTasks.CopyForPlatformBuildTask" AssemblyFile="../../Build/lib/BuildTasks.dll" />
|
<UsingTask TaskName="BuildTasks.CopyForPlatformBuildTask" AssemblyFile="../../Build/lib/BuildTasks.dll" />
|
||||||
<Target Name="AfterBuild">
|
<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>
|
</Target>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
|
2
BCL.sln
2
BCL.sln
@ -9,6 +9,7 @@ Global
|
|||||||
Android_Tests|Any CPU = Android_Tests|Any CPU
|
Android_Tests|Any CPU = Android_Tests|Any CPU
|
||||||
Android|Any CPU = Android|Any CPU
|
Android|Any CPU = Android|Any CPU
|
||||||
Documentation|Any CPU = Documentation|Any CPU
|
Documentation|Any CPU = Documentation|Any CPU
|
||||||
|
Full|Any CPU = Full|Any CPU
|
||||||
iOS_Deploy|Any CPU = iOS_Deploy|Any CPU
|
iOS_Deploy|Any CPU = iOS_Deploy|Any CPU
|
||||||
iOS_Tests|Any CPU = iOS_Tests|Any CPU
|
iOS_Tests|Any CPU = iOS_Tests|Any CPU
|
||||||
iOS|Any CPU = iOS|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}.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.ActiveCfg = Documentation|Any CPU
|
||||||
{2313F1BF-1F2D-4F11-806A-87927FA6A7C0}.Documentation|Any CPU.Build.0 = 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.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_Deploy|Any CPU.Build.0 = iOS_Deploy|Any CPU
|
||||||
{2313F1BF-1F2D-4F11-806A-87927FA6A7C0}.iOS_Tests|Any CPU.ActiveCfg = iOS_Tests|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