Move docs to luacs-docs/{lua,cs,landing-page}
luacs-docs/cs also has a proper http server for testing locally
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
Import-Module $PSScriptRoot/../../scripts/location.ps1
|
||||
|
||||
try {
|
||||
Change-Location $PSScriptRoot/..
|
||||
|
||||
if ((Get-Command "python3" -ErrorAction SilentlyContinue) -eq $null) {
|
||||
echo "python3 not found"
|
||||
exit 1
|
||||
}
|
||||
|
||||
python3 ../scripts/http_server.py ./build `
|
||||
--port 8001 `
|
||||
--route /:html `
|
||||
--route /baro-client:baro-client `
|
||||
--route /baro-server:baro-server
|
||||
} finally {
|
||||
Restore-Location
|
||||
}
|
||||
Reference in New Issue
Block a user