mirror of
https://github.com/spectreconsole/spectre.console.git
synced 2025-12-26 07:47:56 +01:00
Remove documentation
This commit is contained in:
BIN
resources/example.png
Normal file
BIN
resources/example.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 219 KiB |
@@ -7,7 +7,6 @@
|
||||
$Output = Join-Path $PSScriptRoot "Temp"
|
||||
$Generator = Join-Path $PSScriptRoot "/../../src/Generator"
|
||||
$Source = Join-Path $PSScriptRoot "/../../src/Spectre.Console"
|
||||
$Docs = Join-Path $PSScriptRoot "/../../docs/src/Data"
|
||||
|
||||
if(!(Test-Path $Output -PathType Container)) {
|
||||
New-Item -ItemType Directory -Path $Output | Out-Null
|
||||
@@ -23,5 +22,4 @@ if(!$?) {
|
||||
Pop-Location
|
||||
|
||||
# Copy the files to the correct location
|
||||
Copy-Item (Join-Path "$Output" "Emoji.Generated.cs") -Destination "$Source/Emoji.Generated.cs"
|
||||
Copy-Item (Join-Path "$Output" "emojis.json") -Destination "$Docs/emojis.json"
|
||||
Copy-Item (Join-Path "$Output" "Emoji.Generated.cs") -Destination "$Source/Emoji.Generated.cs"
|
||||
@@ -1,24 +0,0 @@
|
||||
#!/usr/local/bin/pwsh
|
||||
|
||||
[CmdletBinding(PositionalBinding=$false)]
|
||||
Param(
|
||||
[Parameter(ValueFromRemainingArguments)]
|
||||
[string[]]$Remaining
|
||||
)
|
||||
|
||||
# first arg is either the name of a single sample you want to run or leave
|
||||
# blank if you want to run them all. the samples aren't going to run at the same
|
||||
# speed each time so if you run all of them you'll have everything as a change
|
||||
# for your commit so use this sparingly.
|
||||
|
||||
$Generator = Join-Path $PSScriptRoot "/../../src/Generator"
|
||||
$Output = Join-Path $PSScriptRoot "../../docs/input/assets/casts"
|
||||
|
||||
# Generate the files
|
||||
Push-Location $Generator
|
||||
&dotnet run -- samples -o "$Output" $Remaining
|
||||
if(!$?) {
|
||||
Pop-Location
|
||||
Throw "An error occured when generating code."
|
||||
}
|
||||
Pop-Location
|
||||
Reference in New Issue
Block a user