Skip to content

Commit

Permalink
Add Nushell build script!
Browse files Browse the repository at this point in the history
  • Loading branch information
rgwood committed Dec 28, 2021
1 parent 69bab74 commit 740ff54
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions publish-all.nu
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
enter RezoningScraper

build-zip "win-x64" "RezoningScraper.exe"
build-zip "linux-x64" "RezoningScraper"
build-zip "osx-x64" "RezoningScraper"

def build-zip [rid executableName] {
dotnet publish --configuration Release $"-p:PublishProfile=($rid)"
enter $"publish/($rid)/"
7z a $"..\\all\RezoningScraper-($rid).zip" $executableName
exit
}

0 comments on commit 740ff54

Please sign in to comment.