Skip to content

Commit

Permalink
Published v0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAsplund committed Jul 31, 2018
1 parent 9acc873 commit 134ffbc
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Publish.ps1
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#Requires -Modules psake
Invoke-PSake $PSScriptRoot\build.psake.ps1 -taskList Version,BeforeBuild,BeforeGenerateMarkdown,GenerateMarkdown,AfterGenerateMarkdown,Build
Invoke-PSake $PSScriptRoot\build.psake.ps1 -taskList NewVersion,BeforeBuild,BeforeGenerateMarkdown,GenerateMarkdown,AfterGenerateMarkdown,Build
2 changes: 1 addition & 1 deletion Release/PSTodoist/PSTodoist.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ModuleVersion = '0.0.1'
# CompatiblePSEditions = @()

# ID used to uniquely identify this module
GUID = '423257e3-4f20-4550-b6d3-7887eb232b44'
GUID = '06d6f9e5-d6bc-431f-951f-b4b4621244ee'

# Author of this module
Author = 'Alex Asplund'
Expand Down
2 changes: 1 addition & 1 deletion build.psake.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ Task Sign -depends StageFiles -requiredVariables CertPath, SettingsPath, ScriptS
Task BuildHelp -depends Build, BeforeBuildHelp, GenerateMarkdown, GenerateHelpFiles, AfterBuildHelp {
}

Task GenerateMarkdown -depends Build -requiredVariables DefaultLocale, DocsRootDir, ModuleName, ModuleOutDir {
Task GenerateMarkdown -depends Build,BeforeGenerateMarkdown -requiredVariables DefaultLocale, DocsRootDir, ModuleName, ModuleOutDir {
if (!(Get-Module platyPS -ListAvailable)) {
"platyPS module is not installed. Skipping $($psake.context.currentTaskName) task."
return
Expand Down
7 changes: 4 additions & 3 deletions build.settings.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -182,12 +182,13 @@ Task NewVersion -depends GenerateMarkdown,Build,Test {
###############################################################################
# Customize these tasks for performing operations before and/or after GenerateMarkdown.
###############################################################################
Task BeforeGenerateMarkdown {
Remove-Item $PSScriptRoot\docs\en-us\*
Task BeforeGenerateMarkdown -depends Build{
Remove-Item $PSScriptRoot\docs\en-us\ -Recurse -Force -ErrorAction "SilentlyContinue"
}


Task AfterGenerateMarkdown {
Task AfterGenerateMarkdown -depends GenerateMarkdown {

. $PSScriptRoot\buildhelpindex.ps1
}

Expand Down
2 changes: 0 additions & 2 deletions buildhelpindex.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
$files = ls $PSScriptRoot\src\Public\*

$help = cat "$PSScriptRoot\docs\en-us\PSTodoist.md" -Raw

$Text = @"
# PSTodoist Module
## Description
Expand Down
4 changes: 2 additions & 2 deletions src/PSTodoist.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
RootModule = 'PSTodoist.psm1'

# Version number of this module.
ModuleVersion = '0.0.1'
ModuleVersion = '0.0.2'

# Supported PSEditions
# CompatiblePSEditions = @()

# ID used to uniquely identify this module
GUID = '423257e3-4f20-4550-b6d3-7887eb232b44'
GUID = 'cf166374-204c-4236-a331-1065003b5735'

# Author of this module
Author = 'Alex Asplund'
Expand Down

0 comments on commit 134ffbc

Please sign in to comment.