Added Build/lib folder to retrieve the build tasks from.

This commit is contained in:
atanasovg
2014-03-13 16:26:09 +02:00
parent 6f5700b618
commit 19c4e27e76
4 changed files with 11 additions and 7 deletions

View File

@@ -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>

View File

@@ -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;
/** /**

View File

@@ -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 {

View File

@@ -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 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.