Skip to content

Commit

Permalink
feat(local-build): .sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
he3als committed Jul 7, 2024
1 parent 778b4a7 commit 69e1c31
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# perform crlf normalization on batch and cmd files
*.bat eol=crlf
*.cmd eol=crlf
*.cmd eol=crlf
*.sh eol=lf
2 changes: 1 addition & 1 deletion src/local-build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ while ($true) { Get-Content -Wait -LiteralPath $a -EA 0 | Write-Output; Start-Sl

# exclude files
$excludeFiles = @(
"local-build.cmd",
"local-build.*",
"*.apbx"
)
if (Test-Path $tempCustomYmlPath) { $excludeFiles += "custom.yml" }
Expand Down
4 changes: 4 additions & 0 deletions src/playbook/local-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

echo "Building Playbook..."
pwsh -NoP -EP Bypass -C "& \"$(dirname "$PWD")/local-build.ps1\" -AddLiveLog -ReplaceOldPlaybook -Removals WinverRequirement, Verification -DontOpenPbLocation"

0 comments on commit 69e1c31

Please sign in to comment.