-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.ps1
More file actions
21 lines (20 loc) · 769 Bytes
/
Copy pathinstall.ps1
File metadata and controls
21 lines (20 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Install rynixc from this repository (Windows PowerShell).
$ErrorActionPreference = "Stop"
Set-Location $PSScriptRoot
Write-Host "==> Building and installing rynixc"
cargo install --path crates/rynixc --force
$rynixc = (Get-Command rynixc -ErrorAction SilentlyContinue).Source
if (-not $rynixc) {
Write-Host "rynixc installed, but not on PATH yet. Add Cargo's bin dir:"
Write-Host " $env:USERPROFILE\.cargo\bin"
exit 0
}
Write-Host "Installed: $rynixc"
& rynixc --version
Write-Host ""
Write-Host "Try: rynixc new myapp"
Write-Host " rynixc run examples/01_hello.ryx"
Write-Host " rynixc dna --error-format=json"
Write-Host " rynixc arch check"
Write-Host " .\editors\vscode\install_extension.ps1"
Write-Host "Docs: INSTALL.md README.md"