Skip to content

Commit

Permalink
Fixes documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
MihaMarkic committed Dec 19, 2018
1 parent e5f0f22 commit c5b58c3
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 21 deletions.
9 changes: 1 addition & 8 deletions src/Cake.Dart/ArgumentsBuilderExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,7 @@ namespace Cake.Dart
/// </summary>
public static class ArgumentsBuilderExtension
{
/// <summary>
/// Appends all arguments from <paramref name="settings"/> and <paramref name="arguments"/>.
/// </summary>
/// <param name="builder"></param>
/// <param name="command"></param>
/// <param name="settings">The settings.</param>
/// <param name="arguments"></param>
public static void AppendAll(this ProcessArgumentBuilder builder, ICakeEnvironment cakeEnvironment,
internal static void AppendAll(this ProcessArgumentBuilder builder, ICakeEnvironment cakeEnvironment,
Dictionary<string, object> vmOptions, FilePath dartScriptFile, DartSettings settings)
{
if (builder == null)
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Dart/Cake.Dart.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'">
<DocumentationFile>bin\Release\netstandard2.0\Cake.ResourceHacker.xml</DocumentationFile>
<DocumentationFile>bin\Release\netstandard2.0\Cake.Dart.xml</DocumentationFile>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 0 additions & 1 deletion src/Cake.Dart/DartAliases.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ public static void DartScript(this ICakeContext context, FilePath dartScriptFile
/// Runs Dart
/// </summary>
/// <param name="context">The context.</param>
/// <param name="vmOptions">VM options</param>
/// <param name="dartScriptFile">File to execute.</param>
[CakeMethodAlias]
public static void DartScript(this ICakeContext context, FilePath dartScriptFile) =>
Expand Down
8 changes: 1 addition & 7 deletions src/Cake.Dart/DartSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class DartSettings : ToolSettings
/// </summary>
public FilePath Packages { get; set; }
/// <summary>
/// Sets the upper limit of old space to <num> MB.
/// Sets the upper limit of old space to num MB.
/// </summary>
public int? OldGenHeapSize { get; set; }

Expand Down Expand Up @@ -68,10 +68,4 @@ public class DartSettings : ToolSettings
/// </summary>
public FilePath RootCertsCache { get; set; }
}

public enum SnapshotKind
{
Kernel,
AppJit
}
}
7 changes: 3 additions & 4 deletions src/Cake.Dart/DartTool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ namespace Cake.Dart
/// <summary>
/// Dart tool.
/// </summary>
/// <typeparam name="TSettings">The settings type.</typeparam>
public class DartTool : Tool<DartSettings>
{
readonly ICakeEnvironment environment;
Expand All @@ -33,11 +32,11 @@ public DartTool(
}

/// <summary>
/// Runs given <paramref name="command"/> using given <paramref name="settings"/>.
/// Runs given <paramref name="dartScriptFile"/> file using <paramref name="vmOptions"/> and <paramref name="settings"/>.
/// </summary>
/// <param name="command">The command.</param>
/// <param name="vmOptions">VM options</param>
/// <param name="dartScriptFile">Script file to run.</param>
/// <param name="settings">The settings.</param>
/// <param name="additional">Additional arguments.</param>
public void Run(Dictionary<string, object> vmOptions, FilePath dartScriptFile, DartSettings settings)
{
Run(settings, GetArguments(vmOptions, dartScriptFile, settings));
Expand Down
17 changes: 17 additions & 0 deletions src/Cake.Dart/SnapshotKind.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
namespace Cake.Dart
{
/// <summary>
/// Snapshot kind
/// </summary>
public enum SnapshotKind
{
/// <summary>
/// Kernel(default)
/// </summary>
Kernel,
/// <summary>
/// app-jit
/// </summary>
AppJit
}
}

0 comments on commit c5b58c3

Please sign in to comment.