-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from ricaun-io/develop
Version 1.3.0
- Loading branch information
Showing
16 changed files
with
150 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
using Nuke.Common; | ||
using Nuke.Common.IO; | ||
using Nuke.Common.Utilities.Collections; | ||
using ricaun.Nuke.Components; | ||
using ricaun.Nuke.Extensions; | ||
|
||
public interface IBuildConsole : IHazExample, IRevitPackageBuilder | ||
{ | ||
Target BuildConsole => _ => _ | ||
.TriggeredBy(PackageBuilder) | ||
.Before(Release) | ||
.Executes(() => | ||
{ | ||
var project = Solution.GetOtherProject("DesignAutomationConsole"); | ||
var releaseDirectory = GetReleaseDirectory(MainProject); | ||
Globbing.GlobFiles(releaseDirectory, "**/*.bundle.zip") | ||
.ForEach(file => | ||
{ | ||
var resourcesDirectory = project.Directory / "Bundle"; | ||
Serilog.Log.Information($"Copy Bundle: {file} to {resourcesDirectory}"); | ||
FileSystemTasks.CopyFileToDirectory(file, resourcesDirectory, FileExistsPolicy.OverwriteIfNewer); | ||
}); | ||
Solution.BuildProject(project, (project) => | ||
{ | ||
SignProject(project); | ||
var fileName = project.Name; | ||
var version = project.GetInformationalVersion(); | ||
var exampleDirectory = GetExampleDirectory(project); | ||
var releaseFileName = CreateReleaseFromDirectory(exampleDirectory, fileName, version); | ||
Serilog.Log.Information($"Release: {releaseFileName}"); | ||
}); | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+57.8 KB
(310%)
DesignAutomationConsole/Bundle/RevitAddin.DA.Tester.bundle.zip
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.