diff --git a/.appveyor.yml b/.appveyor.yml index aac9380..c1976e6 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -11,7 +11,10 @@ skip_commits: - LICENSE - .travis.yml image: Visual Studio 2017 -cache: tools -> setup.cake,tools/packages.config +cache: tools -> setup.cake,tools/packages.config,.appveyor.yml +install: +- cinst python3 -n +- cinst transifex-client build_script: - ps: .\build.ps1 -Configuration Release -Target AppVeyor test: off diff --git a/.gitattributes b/.gitattributes index 0630300..d35fca9 100644 --- a/.gitattributes +++ b/.gitattributes @@ -12,6 +12,9 @@ ############################################################################### *.cs diff=csharp +*.resx text whitespace=-trailing-space +*.Designer.cs diff=csharp whitespace=-trailing-space + ############################################################################### # Set the merge driver for project and solution files # diff --git a/.gitignore b/.gitignore index b40eec2..470fe47 100644 --- a/.gitignore +++ b/.gitignore @@ -290,3 +290,7 @@ tools/** # Custom BuildArtifacts/ +*.*.resx +*.dll +*.hash +docs/input/tasks/ diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 4291773..0000000 --- a/.travis.yml +++ /dev/null @@ -1,37 +0,0 @@ -language: csharp - -env: - global: - - CONFIGURATION=Release - -os: - - osx - - linux -osx_image: xcode7.3 -dist: trusty -sudo: required -mono: - - 4.2.3 - - latest -dotnet: 1.0.1 - -branches: - except: - - ci/appveyor - - /^v[0-9]/ # Skip tag builds, these should already have been tested before the tag was created - -before_script: - - git fetch --unshallow || true - - if [ "$TRAVIS_OS_NAME" == "osx" ]; then ulimit -n 1024; fi - - if [ "$TRAVIS_OS_NAME" != "osx" ]; then export FrameworkPathOverride=/usr/lib/mono/4.5/; fi - - chmod +x build.sh - -script: - - if [ "$TRAVIS_OS_NAME" == "osx" ]; then ./build.sh --configuration $CONFIGURATION; else ./build.sh --configuration $CONFIGURATION --with-netfull; fi - -cache: - directories: - - tools - -before_cache: - - rm -f tools/packages.config diff --git a/.tx/config b/.tx/config new file mode 100644 index 0000000..f078280 --- /dev/null +++ b/.tx/config @@ -0,0 +1,15 @@ +[main] +host = https://www.transifex.com +lang_map = en_GB: en-GB, en_US: en-US + +[caketransifex.commonresx] +source_file = src/Cake.Transifex/Common.resx +file_filter = src/Cake.Transifex/Common..resx +source_lang = en +type = RESX + +[caketransifex.exceptionsresx] +source_file = src/Cake.Transifex/Exceptions.resx +file_filter = src/Cake.Transifex/Exceptions..resx +source_lang = en +type = RESX diff --git a/LICENSE b/LICENSE index 9e68b13..2a857c3 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2017 WormieCorp +Copyright (c) 2017-2018 Kim J. Nordmo Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 521a22a..1eca6b8 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,14 @@ # Cake.Transifex [![license](https://img.shields.io/github/license/cake-contrib/Cake.Transifex.svg)](https://github.com/cake-contrib/Cake.Transifex/blob/master/LICENSE) +[![Open Source Helpers](https://www.codetriage.com/wormiecorp/cake.transifex/badges/users.svg)](https://www.codetriage.com/wormiecorp/cake.transifex) Cake.Transifex is a addin for the Cake Build script adding support for working with the localization service Transifex. This addin requires that the transifex client is already installed and is available as `tx`. ## Information -To install the transifex client, install python, then run `pip install transifex-client`. +To install the transifex client, install python, then run `pip install transifex-client`, or using the chocolatey package `choco install transifex-client --version 0.12.4` *(version can be omitted when package have been approved)*. | |Stable|Pre-release| |:--:|:--:|:--:| @@ -20,6 +21,7 @@ Development versions is available at the following nuget api endpoint: Initialize a simple configuration file in the repository - `TransifexStatus` -> Get the status of the current translations in the local repository. - `TransifexPush` -> Push translations to the remote transifex server (Optionally also the source file) - `TransifexPull` -> Pull monitored translations from the remote transifex server @@ -28,7 +30,6 @@ The following aliases is available from the cake build script: | | master | develop | |:--:|:--:|:--:| |AppVeyor|[![AppVeyor branch master](https://img.shields.io/appveyor/ci/cakecontrib/cake-transifex/master.svg)](https://ci.appveyor.com/project/cakecontrib/cake-transifex/branch/master)|[![AppVeyor branch develop](https://img.shields.io/appveyor/ci/cakecontrib/cake-transifex/develop.svg)](https://ci.appveyor.com/project/cakecontrib/cake-transifex/branch/develop)| -|Travis CI|[![Travis branch](https://img.shields.io/travis/cake-contrib/Cake.Transifex/master.svg)](https://travis-ci.org/cake-contrib/Cake.Transifex)|[![Travis branch](https://img.shields.io/travis/cake-contrib/Cake.Transifex/develop.svg)](https://travis-ci.org/cake-contrib/Cake.Transifex)| ## Code Coverage @@ -39,27 +40,27 @@ The following aliases is available from the cake build script: ## Quick Links -- [Addin Documentation](https://cake-contrib.github.io/Cake.Transifex) *Not yet created* +- [Addin Documentation](https://cake-contrib.github.io/Cake.Transifex) - [Transifex Documentation](https://docs.transifex.com/) ## Chat Room Come join in the conversation about Cake.Transifex in our Gitter Chat Room -[![Join the chat at https://gitter.im/cake-contrib/Lobby](https://badges.gitter.im/cake-contrib/Lobby.svg)]((https://gitter.im/cake-contrib/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[![Join the chat at https://gitter.im/cake-contrib/Lobby](https://badges.gitter.im/cake-contrib/Lobby.svg)](https://gitter.im/cake-contrib/Lobby) ## Building Cake.Transifex ### 1. Building on Windows The following are needed to build Cake.Transifex on Windows -- .NET Core 1.0.1 +- .NET Core 2.0 +- .NET 4.6 - Visual Studio 2017 -- .NET 4.5 (.NET 4.5.2 to build the unit tests), *these should already be installed when installing Visual Studio 2017* -Open up a powershell window and call `.\build.ps1`, this should build the projects, run the unit tests and create nuget packages in the `.\artifacts\v{version}\nuget` directory. +Open up a powershell window and call `.\build.ps1`, this should build the projects, run the unit tests and create nuget packages in the `.\BuildArtifacts\Packages\NuGet` directory. ### 2. Building on Linux or OSX -- .NET Core 1.0.1 +- .NET Core 1.0.5 and 2.0 - Mono (uncertain of which version, and it may fail on some systems) Open up the terminal and call `sh build.sh`, this should build the projects, run the unit tests and create nuget packages in the `./artifacts/v{version}/nuget` directory. diff --git a/build.ps1 b/build.ps1 index bdfb32b..0ec3f2a 100644 --- a/build.ps1 +++ b/build.ps1 @@ -181,4 +181,4 @@ if (!(Test-Path $CAKE_EXE)) { # Start Cake Write-Host "Running build script..." Invoke-Expression "& `"$CAKE_EXE`" `"$Script`" -target=`"$Target`" -configuration=`"$Configuration`" -verbosity=`"$Verbosity`" $UseMono $UseDryRun $UseExperimental $ScriptArgs" -exit $LASTEXITCODE \ No newline at end of file +exit $LASTEXITCODE diff --git a/cake.config b/cake.config index f2bc168..d87d613 100644 --- a/cake.config +++ b/cake.config @@ -3,6 +3,7 @@ [Nuget] Source=https://api.nuget.org/v3/index.json +UseInProcessClient=true [Roslyn] NuGetSource=https://packages.nuget.org/api/v2 diff --git a/docs/input/_Footer.cshtml b/docs/input/_Footer.cshtml new file mode 100644 index 0000000..644b324 --- /dev/null +++ b/docs/input/_Footer.cshtml @@ -0,0 +1 @@ +Copyright © 2017-2018 Kim J. Nordmo diff --git a/docs/input/blog/new-release-0.4.0.md b/docs/input/blog/new-release-0.4.0.md new file mode 100644 index 0000000..5fbf254 --- /dev/null +++ b/docs/input/blog/new-release-0.4.0.md @@ -0,0 +1,26 @@ +--- +Title: New Release - 0.4.0 +Published: 2017-12-18 +Category: Release +Author: AdmiringWorm +--- + +# 0.4.0 Compatibility Release + +This blog post is a little belated, but here it is. +This release is just a minor compatibility release to make Cake.Transifex +compatible with Cake above version 0.22, while maintaining compatibility with +previous releases. + + +## Release Notes + +As part of this release we had [9 commits](https://github.com/cake-contrib/Cake.Transifex/compare/0.3.0...0.4.0) which resulted in [2 issues](https://github.com/cake-contrib/Cake.Transifex/issues?milestone=4&state=closed) being closed. + + +__Feature__ + +- [__#16__](https://github.com/cake-contrib/Cake.Transifex/issues/16) Update Cake.Core dependency to version 0.22.0 + +### Where to get it +You can download this release from [nuget](https://nuget.org/packages/Cake.Transifex/0.4.0) diff --git a/docs/input/docs/building/linux.md b/docs/input/docs/building/linux.md index 21742c7..1caa6fb 100644 --- a/docs/input/docs/building/linux.md +++ b/docs/input/docs/building/linux.md @@ -7,7 +7,7 @@ Author: Kim Nordmo ## Requirements The following are need to build Cake.Transifex on Linux: -- .NET Core SDK 1.0.4 *(could work with other versions as well)* +- .NET Core SDK 1.0.5 and 2.0 *(could work with other versions as well)* - Mono 4.2.3+ *(earlier versions may work, but are not supported)* All other dependencies will be automatically downloaded when invoking the build script. diff --git a/docs/input/docs/building/windows.md b/docs/input/docs/building/windows.md index ed49bac..72ca2ac 100644 --- a/docs/input/docs/building/windows.md +++ b/docs/input/docs/building/windows.md @@ -8,8 +8,8 @@ Author: Kim Nordmo The following are need to build Cake.Transifex on Windows: - Visual Studio 2017 -- .NET Core SDK 1.0.4 *(could work with other versions as well)* -- .NET Framework 4.5 +- .NET Core SDK 2.0 *(could work with other versions as well)* +- .NET Framework 4.6 All other dependencies will be automatically downloaded when invoking the build script. diff --git a/docs/input/docs/usage/intro.md b/docs/input/docs/usage/intro.md index 6355bcb..f003f08 100644 --- a/docs/input/docs/usage/intro.md +++ b/docs/input/docs/usage/intro.md @@ -23,4 +23,4 @@ When the cake script is run, this will download the latest version of the `Cake. *NOTE: Remember to also install the transifex (`tx`) client on the running computer, this can be installed through -the python `pip` utility (`pip install transifex-client`).* +the python `pip` utility (`pip install transifex-client`) or through chocolatey `choco install transifex-client`.* diff --git a/docs/input/index.cshtml b/docs/input/index.cshtml index 300698b..4cd9e6f 100644 --- a/docs/input/index.cshtml +++ b/docs/input/index.cshtml @@ -23,4 +23,24 @@ NoGutter: false https://www.myget.org/F/cake-contrib/api/v2

+ +

Cake support

+

+ This addin supports multiple frameworks and with that multiple Cake versions + The following is a list of the Cake versions this addin is expected to work with. +

+
    +
  • + Targeting .NET 4.5, supports Cake version 0.16.2-0.21.0. +
  • +
  • + Targeting .NET 4.6, supports Cake version 0.22.0-0.25.0 +
  • +
  • + Targeting .NET standard 1.6, supports Cake version 0.22.0-0.25.0 (version 0.3.0 of Cake.Transifex supports Cake version 0.16.2-0.21.0) +
  • +
  • + Targeting .NET standard 2.0, supports Cake version 0.26.0+ (Starting from version 0.5.0 of Cake.Transifex). +
  • +
diff --git a/docs/packages.xml b/docs/packages.xml index 6dbc928..fbdfa4b 100644 --- a/docs/packages.xml +++ b/docs/packages.xml @@ -1,6 +1,6 @@  - + @@ -8,20 +8,38 @@ - + + + + + + + + + + + + + + - + + + + + + @@ -50,7 +68,21 @@ - + + + + + + + + + + + + + + + @@ -60,91 +92,69 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - + + + + + + + + + + + + + + + + + + - - + + - - - - - - - - - - - - + + + + + + + + + + + + + + - + + - + \ No newline at end of file diff --git a/setup.cake b/setup.cake index 856af89..2fd076c 100644 --- a/setup.cake +++ b/setup.cake @@ -12,6 +12,7 @@ BuildParameters.SetParameters( appVeyorAccountName: "cakecontrib", shouldRunDotNetCorePack: true, shouldBuildNugetSourcePackage: false, + shouldDeployGraphDocumentation: false, solutionFilePath: "./Cake.Transifex.sln", testFilePattern: "/**/*.Tests.csproj" ); diff --git a/src/Cake.Transifex.Tests/Cake.Transifex.Tests.csproj b/src/Cake.Transifex.Tests/Cake.Transifex.Tests.csproj index dbaf018..71dbfc6 100644 --- a/src/Cake.Transifex.Tests/Cake.Transifex.Tests.csproj +++ b/src/Cake.Transifex.Tests/Cake.Transifex.Tests.csproj @@ -1,9 +1,9 @@  - netcoreapp1.0;net452;net46 + netcoreapp1.0;netcoreapp2.0;net452;net46 - netcoreapp1.0 + netcoreapp1.0;netcoreapp2.0 pdbonly @@ -12,9 +12,12 @@ - + + + + @@ -23,7 +26,7 @@ - + diff --git a/src/Cake.Transifex.Tests/TransifexInitRunnerTests.cs b/src/Cake.Transifex.Tests/TransifexInitRunnerTests.cs index 242c441..15eda2d 100644 --- a/src/Cake.Transifex.Tests/TransifexInitRunnerTests.cs +++ b/src/Cake.Transifex.Tests/TransifexInitRunnerTests.cs @@ -84,7 +84,7 @@ public void Evaluate_ThrowsArgumentExceptionWhenTokenAndUsernameOrPasswordIsSpec var ex = Assert.Throws(() => this.fixture.Run()); - Assert.Equal("A token can not be set at the same time as either the username or password.", ex.Message); + Assert.Equal(Exceptions.TokenAndUsernameException, ex.Message); } } } diff --git a/src/Cake.Transifex/Cake.Transifex.csproj b/src/Cake.Transifex/Cake.Transifex.csproj index 2af2de2..cfaeb86 100644 --- a/src/Cake.Transifex/Cake.Transifex.csproj +++ b/src/Cake.Transifex/Cake.Transifex.csproj @@ -1,28 +1,29 @@  - netstandard1.6;net45;net46 + netstandard1.6;netstandard2.0;net45;net46 - netstandard1.6 + netstandard1.6;netstandard2.0 1.6.1 + True bin\$(Configuration)\$(TargetFramework)\Cake.Transifex.xml 7 pdbonly False - Kim Nordmo + Kim J. Nordmo Cake.Transifex is a addin for the Cake Build script adding support for working with the localization service Transifex. This addin requires that the transifex client is already installed and is available as `tx`. To install the transifex client, install python, then run `pip install transifex-client`. - Copyright 2017 - Kim Nordmo - https://github.com/cake-contrib/Cake.Transifex/blob/master/LICENSE - https://github.com/cake-contrib/Cake.Transifex + Copyright 2017-2018 - Kim J. Nordmo https://cdn.rawgit.com/cake-contrib/graphics/a5cf0f881c390650144b2243ae551d5b9f836196/png/cake-contrib-medium.png https://github.com/cake-contrib/Cake.Transifex + $(RepositoryUrl)/blob/master/LICENSE + $(RepositoryUrl) git cake build transifex localization False @@ -42,11 +43,27 @@ To install the transifex client, install python, then run `pip install transifex - + - + + + + + + + True + True + Exceptions.resx + + + + + ResXFileCodeGenerator + Exceptions.Designer.cs + + diff --git a/src/Cake.Transifex/Common.Designer.cs b/src/Cake.Transifex/Common.Designer.cs new file mode 100644 index 0000000..7ca6220 --- /dev/null +++ b/src/Cake.Transifex/Common.Designer.cs @@ -0,0 +1,73 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Cake.Transifex { + using System; + using System.Reflection; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Common { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Common() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Cake.Transifex.Common", typeof(Common).GetTypeInfo().Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Transifex Runner. + /// + internal static string TransifexRunner { + get { + return ResourceManager.GetString("TransifexRunner", resourceCulture); + } + } + } +} diff --git a/src/Cake.Transifex/Common.resx b/src/Cake.Transifex/Common.resx new file mode 100644 index 0000000..bffb545 --- /dev/null +++ b/src/Cake.Transifex/Common.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Transifex Runner + + \ No newline at end of file diff --git a/src/Cake.Transifex/Exceptions.Designer.cs b/src/Cake.Transifex/Exceptions.Designer.cs new file mode 100644 index 0000000..3b056cf --- /dev/null +++ b/src/Cake.Transifex/Exceptions.Designer.cs @@ -0,0 +1,73 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Cake.Transifex { + using System; + using System.Reflection; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Exceptions { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Exceptions() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Cake.Transifex.Exceptions", typeof(Exceptions).GetTypeInfo().Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to A token can not be set at the same time as either the username or password.. + /// + internal static string TokenAndUsernameException { + get { + return ResourceManager.GetString("TokenAndUsernameException", resourceCulture); + } + } + } +} diff --git a/src/Cake.Transifex/Exceptions.resx b/src/Cake.Transifex/Exceptions.resx new file mode 100644 index 0000000..4336ee4 --- /dev/null +++ b/src/Cake.Transifex/Exceptions.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + A token can not be set at the same time as either the username or password. + + \ No newline at end of file diff --git a/src/Cake.Transifex/TransifexInitSettings.cs b/src/Cake.Transifex/TransifexInitSettings.cs index e3d8ea1..6c4e3ed 100644 --- a/src/Cake.Transifex/TransifexInitSettings.cs +++ b/src/Cake.Transifex/TransifexInitSettings.cs @@ -1,4 +1,4 @@ -namespace Cake.Transifex +namespace Cake.Transifex { using System; using Cake.Core; @@ -69,7 +69,7 @@ protected override void EvaluateCore(ProcessArgumentBuilder args) { if (!string.IsNullOrEmpty(Token) && (!string.IsNullOrEmpty(Username) || !string.IsNullOrEmpty(Password))) { - throw new ArgumentException("A token can not be set at the same time as either the username or password."); + throw new ArgumentException(Exceptions.TokenAndUsernameException); } if (!string.IsNullOrEmpty(Host)) diff --git a/src/Cake.Transifex/TransifexRunner.cs b/src/Cake.Transifex/TransifexRunner.cs index 775735f..ca23e37 100644 --- a/src/Cake.Transifex/TransifexRunner.cs +++ b/src/Cake.Transifex/TransifexRunner.cs @@ -1,4 +1,4 @@ -namespace Cake.Transifex +namespace Cake.Transifex { using System.Collections.Generic; using Cake.Core; @@ -69,7 +69,7 @@ protected override IEnumerable GetToolExecutableNames() }; protected override string GetToolName() - => "Transifex Runner"; + => Common.TransifexRunner; private static ProcessArgumentBuilder GetTransifexRunnerArguments(TransifexRunnerSettings settings) { diff --git a/src/Cake.Transifex/TransifexRunnerAliases.cs b/src/Cake.Transifex/TransifexRunnerAliases.cs index 8efffe7..1583059 100644 --- a/src/Cake.Transifex/TransifexRunnerAliases.cs +++ b/src/Cake.Transifex/TransifexRunnerAliases.cs @@ -28,6 +28,9 @@ public static class TransifexRunnerAliases /// ]]> /// /// + /// + /// Initial creation + /// public static void TransifexInit(this ICakeContext context) => TransifexInit(context, null); diff --git a/tools/packages.config b/tools/packages.config index ba021c5..e52a2c7 100644 --- a/tools/packages.config +++ b/tools/packages.config @@ -1,4 +1,4 @@ - +