mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Added Build/lib folder to retrieve the build tasks from.
This commit is contained in:
@@ -163,7 +163,7 @@
|
|||||||
<TypeScriptSourceMap>True</TypeScriptSourceMap>
|
<TypeScriptSourceMap>True</TypeScriptSourceMap>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VSToolsPath)\TypeScript\Microsoft.TypeScript.targets" Condition="Exists('$(VSToolsPath)\TypeScript\Microsoft.TypeScript.targets')" />
|
<Import Project="$(VSToolsPath)\TypeScript\Microsoft.TypeScript.targets" Condition="Exists('$(VSToolsPath)\TypeScript\Microsoft.TypeScript.targets')" />
|
||||||
<UsingTask TaskName="BuildTasks.CopyForPlatformBuildTask" AssemblyFile="../../Build/bin/BuildTasks.dll" />
|
<UsingTask TaskName="BuildTasks.CopyForPlatformBuildTask" AssemblyFile="../../Build/lib/BuildTasks.dll" />
|
||||||
<Target Name="AfterBuild">
|
<Target Name="AfterBuild">
|
||||||
<CopyForPlatformBuildTask Condition=" '$(Configuration)' == 'Android' or '$(Configuration)' == 'iOS' " TargetPlatform="$(Configuration)" Platforms="iOS;Android" InputFiles="@(GeneratedJavascript)" DestinationFolder="$(OutputPath)\$(Configuration)\" />
|
<CopyForPlatformBuildTask Condition=" '$(Configuration)' == 'Android' or '$(Configuration)' == 'iOS' " TargetPlatform="$(Configuration)" Platforms="iOS;Android" InputFiles="@(GeneratedJavascript)" DestinationFolder="$(OutputPath)\$(Configuration)\" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|||||||
4
FileSystem/file_system.d.ts
vendored
4
FileSystem/file_system.d.ts
vendored
@@ -22,12 +22,12 @@
|
|||||||
/**
|
/**
|
||||||
* Renames the current entity using the specified name.
|
* Renames the current entity using the specified name.
|
||||||
*/
|
*/
|
||||||
public rename(newName: string, onSuccess: Function, onError: Function);
|
public rename(newName: string, onSuccess?: Function, onError?: Function);
|
||||||
}
|
}
|
||||||
|
|
||||||
export class File extends FileSystemEntity {
|
export class File extends FileSystemEntity {
|
||||||
/**
|
/**
|
||||||
* Gets the extension of the entity.
|
* Gets the extension of the file.
|
||||||
*/
|
*/
|
||||||
public extension: string;
|
public extension: string;
|
||||||
/**
|
/**
|
||||||
|
|||||||
4
FileSystem/file_system_access.d.ts
vendored
4
FileSystem/file_system_access.d.ts
vendored
@@ -1,6 +1,4 @@
|
|||||||
//import file_system_module = require("FileSystem/file_system");
|
// TODO: Implement "hidden" notation so that such declarations are not included in the d.ts file we will provide for the users.
|
||||||
//import entities = file_system_module.tk.io;
|
|
||||||
|
|
||||||
//@hidden
|
//@hidden
|
||||||
export declare module tk {
|
export declare module tk {
|
||||||
export module io {
|
export module io {
|
||||||
|
|||||||
@@ -12,4 +12,10 @@ The output of this project is located at (../bin/)
|
|||||||
### Build the BCL project
|
### Build the BCL project
|
||||||
|
|
||||||
There are two build configurations - iOS and Android. Depending on the configuration, the custom build task will prepare the `bin/iOS` and `bin/Android` folders
|
There are two build configurations - iOS and Android. Depending on the configuration, the custom build task will prepare the `bin/iOS` and `bin/Android` folders
|
||||||
where the files only needed for the specified platform will be copied.
|
where the files only needed for the specified platform will be copied.
|
||||||
|
|
||||||
|
### Useful links
|
||||||
|
|
||||||
|
[VSCommands](http://vscommands.squaredinfinity.com/)
|
||||||
|
|
||||||
|
Adds the option to "Group Items" (DependentUpon tag) within the Visual Studio Solution Explorer. Select several items, right-click -> Group Items.
|
||||||
Reference in New Issue
Block a user