Scaffold EVE fullscreen OpenGL app
This commit is contained in:
commit
c6c73d60c0
15 changed files with 494 additions and 0 deletions
18
scripts/check-eve-toolchain.ps1
Normal file
18
scripts/check-eve-toolchain.ps1
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
param(
|
||||
[string] $Target = "eve"
|
||||
)
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
$remoteScript = "echo '== identity =='; " +
|
||||
"uname -a; " +
|
||||
"sysctl -n hw.machine kern.osversion 2>/dev/null || true; " +
|
||||
"echo '== command availability =='; " +
|
||||
"for c in make clang ldid git uicache dpkg apt; do " +
|
||||
"if command -v `$c >/dev/null 2>&1; then printf '%-8s %s\n' `$c `$(command -v `$c); else printf '%-8s missing\n' `$c; fi; " +
|
||||
"done; " +
|
||||
"echo '== theos =='; " +
|
||||
"printf 'THEOS=%s\n' `"`${THEOS:-}`"; " +
|
||||
"for d in /var/theos /opt/theos `"`$HOME/theos`"; do test -d `"`$d`" && find `"`$d`" -maxdepth 2 -type d | head -20; done"
|
||||
|
||||
ssh $Target $remoteScript
|
||||
20
scripts/stage-to-eve.ps1
Normal file
20
scripts/stage-to-eve.ps1
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
param(
|
||||
[string] $Target = "eve",
|
||||
[string] $RemotePath = "/var/mobile/Projects/Eve"
|
||||
)
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
$projectRoot = Split-Path -Parent $PSScriptRoot
|
||||
$archive = Join-Path $env:TEMP "eve-canvas-source.tar"
|
||||
|
||||
if (Test-Path $archive) {
|
||||
Remove-Item -LiteralPath $archive -Force
|
||||
}
|
||||
|
||||
tar -cf $archive -C $projectRoot .
|
||||
ssh $Target "mkdir -p '$RemotePath'"
|
||||
scp $archive "${Target}:/tmp/eve-canvas-source.tar"
|
||||
ssh $Target "tar -xf /tmp/eve-canvas-source.tar -C '$RemotePath' && rm /tmp/eve-canvas-source.tar && find '$RemotePath' -maxdepth 2 -type f | sort"
|
||||
|
||||
Write-Host "Staged EveCanvas to ${Target}:$RemotePath"
|
||||
Loading…
Reference in a new issue