Skip to content

Commit

Permalink
Merge pull request #14 from ricaun-io/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ricaun authored Jan 4, 2022
2 parents 39b2ba3 + 2d77c20 commit ddfa803
Show file tree
Hide file tree
Showing 12 changed files with 69 additions and 332 deletions.
12 changes: 8 additions & 4 deletions Build/.nuke/build.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@
"VSCode"
]
},
"Name": {
"IssConfiguration": {
"type": "string"
},
"MainName": {
"type": "string"
},
"NoLogo": {
Expand All @@ -59,9 +62,6 @@
"type": "string"
}
},
"ReleasePackageBuilder": {
"type": "boolean"
},
"Root": {
"type": "string",
"description": "Root directory during build execution"
Expand All @@ -75,7 +75,9 @@
"Build",
"Clean",
"Compile",
"CompileExample",
"GitRelease",
"Pack",
"PackageBuilder",
"Release",
"Sign"
Expand All @@ -95,7 +97,9 @@
"Build",
"Clean",
"Compile",
"CompileExample",
"GitRelease",
"Pack",
"PackageBuilder",
"Release",
"Sign"
Expand Down
2 changes: 1 addition & 1 deletion Build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Build : NukeBuild, IPublishPack, ICompileExample, IRevitPackageBuilder
// {
// IssLanguageLicences
// = new[] {
// new IssLanguageLicence() { Name="br", Licence = "License-br.rtf", MessagesFile = @"compiler:Languages\BrazilianPortuguese.isl"}
// new IssLanguageLicence() { Name="br", Licence = "License-br.txt", MessagesFile = @"compiler:Languages\BrazilianPortuguese.isl"}
// }
// };
// public static int Main() => Execute<Build>(x => x.From<IPublishRevit>().Build);
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [0.0.12] / 2022-01-04
- Add Environment Variables
- Remove rtf files
- Change IssConfiguration to License.txt

## [0.0.11] / 2022-01-03
- Clear IssRevitBuilder
- Add IssLanguageLicence
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ class Build : NukeBuild, IPublishRevit
}
```

## Environment Variables

```yml
env:
GitHubToken: ${{ secrets.GITHUB_TOKEN }}
SignFile: ${{ secrets.SIGN_FILE }}
SignPassword: ${{ secrets.SIGN_PASSWORD }}
```
## License
This package is [licensed](LICENSE) under the [MIT Licence](https://en.wikipedia.org/wiki/MIT_License).
Expand Down
161 changes: 0 additions & 161 deletions RevitAddin.PackageBuilder.Example/InstallationFiles/License-br.rtf

This file was deleted.

21 changes: 21 additions & 0 deletions RevitAddin.PackageBuilder.Example/InstallationFiles/License-br.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 ricaun

A permissão é concedida, gratuitamente, a qualquer pessoa que obtenha uma cópia
deste software e arquivos de documentação associados (o "Software"), para lidar
no Software sem restrição, incluindo, sem limitação, os direitos
para usar, copiar, modificar, mesclar, publicar, distribuir, sublicenciar e / ou vender
cópias do Software, e para permitir que as pessoas a quem o Software é
fornecido para fazê-lo, sujeito às seguintes condições:

O aviso de direitos autorais acima e este aviso de permissão devem ser incluídos em todos
cópias ou partes substanciais do Software.

O SOFTWARE É FORNECIDO "COMO ESTÁ", SEM GARANTIA DE QUALQUER TIPO, EXPRESSA OU
IMPLÍCITA, INCLUINDO, MAS NÃO SE LIMITANDO ÀS GARANTIAS DE COMERCIALIZAÇÃO,
ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA E NÃO VIOLAÇÃO. EM NENHUMA HIPÓTESE O
AUTORES OU TITULARES DE DIREITOS AUTORAIS SÃO RESPONSÁVEIS POR QUALQUER RECLAMAÇÃO, DANOS OU OUTROS
RESPONSABILIDADE, SEJA EM AÇÃO DE CONTRATO, DELITO OU DE OUTRA FORMA, DECORRENTE DE,
FORA DE OU EM CONEXÃO COM O SOFTWARE OU O USO OU OUTRAS NEGOCIAÇÕES NO
PROGRAMAS.
162 changes: 0 additions & 162 deletions RevitAddin.PackageBuilder.Example/InstallationFiles/License.rtf

This file was deleted.

21 changes: 21 additions & 0 deletions RevitAddin.PackageBuilder.Example/InstallationFiles/License.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 ricaun

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@

<PropertyGroup>
<PackageId>RevitAddin.PackageBuilder.Example</PackageId>
<Version>$(RevitVersion).0.2</Version>
<Version>$(RevitVersion).0.3</Version>
<ProjectGuid>{d2797a34-4696-490d-a97a-c17afb5f0225}</ProjectGuid>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class IssConfiguration
/// <summary>
/// LICENSE
/// </summary>
public const string LICENSE = "License.rtf";
public const string LICENSE = "License.txt";

/// <summary>
/// Image (default <see cref="IMAGE"/>)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace ricaun.Nuke.Components
/// </summary>
public class IssRevitBuilder : IssBuilder
{
Project project;
private readonly Project project;

/// <summary>
/// IssRevitBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<PropertyGroup>
<PackageId>ricaun.Nuke.PackageBuilder</PackageId>
<Version>0.0.11</Version>
<Version>0.0.12</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit ddfa803

Please sign in to comment.