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>
|
||||
</PropertyGroup>
|
||||
<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">
|
||||
<CopyForPlatformBuildTask Condition=" '$(Configuration)' == 'Android' or '$(Configuration)' == 'iOS' " TargetPlatform="$(Configuration)" Platforms="iOS;Android" InputFiles="@(GeneratedJavascript)" DestinationFolder="$(OutputPath)\$(Configuration)\" />
|
||||
</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.
|
||||
*/
|
||||
public rename(newName: string, onSuccess: Function, onError: Function);
|
||||
public rename(newName: string, onSuccess?: Function, onError?: Function);
|
||||
}
|
||||
|
||||
export class File extends FileSystemEntity {
|
||||
/**
|
||||
* Gets the extension of the entity.
|
||||
* Gets the extension of the file.
|
||||
*/
|
||||
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");
|
||||
//import entities = file_system_module.tk.io;
|
||||
|
||||
// TODO: Implement "hidden" notation so that such declarations are not included in the d.ts file we will provide for the users.
|
||||
//@hidden
|
||||
export declare module tk {
|
||||
export module io {
|
||||
|
||||
@@ -13,3 +13,9 @@ The output of this project is located at (../bin/)
|
||||
|
||||
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.
|
||||
|
||||
### 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