added
This commit is contained in:
1 parent
1cca9d3667
commit
84865800d1
79 files changed
+5766
-49
No files matched your search
@@ -0,0 +1,15 @@
|
||||
[CmdletBinding()]
|
||||
param()
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$projectRoot = Split-Path -Parent $PSScriptRoot
|
||||
if (-not (Get-Command quarto -ErrorAction SilentlyContinue)) {
|
||||
throw 'Quarto is required. See README.md for installation instructions.'
|
||||
}
|
||||
Push-Location $projectRoot
|
||||
try {
|
||||
& quarto render presentation.qmd --to revealjs
|
||||
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
||||
if (-not (Test-Path 'output/presentation.html')) {
|
||||
throw 'Render returned without the expected output/presentation.html.'
|
||||
}
|
||||
} finally { Pop-Location }
|
||||
Reference in new issue
Block a user