Skip to content

Commit

Permalink
Merge branch 'main' into pivot-to-dotnet
Browse files Browse the repository at this point in the history
Signed-off-by: James Bayley <[email protected]>
  • Loading branch information
jamesbayley authored Apr 16, 2024
2 parents f24f9ae + a5239a1 commit 97086c6
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
19 changes: 19 additions & 0 deletions Build.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Set-Location "$PSScriptRoot/.."

$Platforms = @(
@{ GOOS = "windows"; GOARCH = "amd64" }
@{ GOOS = "linux"; GOARCH = "amd64" }
@{ GOOS = "darwin"; GOARCH = "amd64" }
)

$InputFile = "./cmd/gazelle/main.go"

$Platforms | ForEach-Object {
$Env:GOOS = $_.GOOS
$Env:GOARCH = $_.GOARCH

$Extension = if ($_.GOOS -eq "windows") { ".exe" } else { "" }
$Executable = "gazelle-$($_.GOOS)-$($_.GOARCH)$Extension"

go build -o "./build/$Executable"
}
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<h1>Gazelle</h1>
<p>A fast, cross-platform engine for structural analysis & design.</p>

[![Open in Dev Containers](https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue&logo=visualstudiocode)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/GazelleKit/gazelle)
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.0-4baaaa.svg)](https://github.com/GazelleKit/gazelle/blob/main/CODE_OF_CONDUCT.md)
[![Open in Dev Containers](https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue&logo=visualstudiocode)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/noblesource/gazelle)
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.0-4baaaa.svg)](https://github.com/noblesource/gazelle/blob/main/CODE_OF_CONDUCT.md)

[![CI](https://github.com/GazelleKit/gazelle/actions/workflows/ci.yml/badge.svg)](https://github.com/GazelleKit/gazelle/actions/workflows/build.yml)
[![CI](https://github.com/GazelleKit/gazelle/actions/workflows/ci.yml/badge.svg)](https://github.com/GazelleKit/gazelle/actions/workflows/ci.yml)
[![License: AGPL-3.0](https://img.shields.io/badge/License-AGPL--3.0-00add8)](https://choosealicense.com/licenses/agpl-3.0/)

[![.NET](https://img.shields.io/badge/.NET-8.0-8a2be2)](https://dotnet.microsoft.com)
Expand Down Expand Up @@ -86,5 +86,5 @@
</p>

<p align="justify">
We recommend that all users carefully review the code, tests and documentation. Please submit error reports and suggestions for improvement via <a href="https://github.com/calcpadstudio/gazelle/issues" target="_blank">GitHub Issues</a>. For anyone who would like to attempt a fix or improvement, we would encourage you to review our <a href="#contributing">Contributing</a> guidance and submit a Pull Request.
We recommend that all users carefully review the code, tests and documentation. Please submit error reports and suggestions for improvement via <a href="https://github.com/noblesource/gazelle/issues" target="_blank">GitHub Issues</a>. For anyone who would like to attempt a fix or improvement, we would encourage you to review our <a href="#contributing">Contributing</a> guidance and submit a Pull Request.
</p>

0 comments on commit 97086c6

Please sign in to comment.