summarylogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorJonathan Steel2016-11-26 22:15:09 +0000
committerJonathan Steel2016-11-26 22:15:09 +0000
commit509e125356770eab9d40a75b73f647b2d6d8ddec (patch)
tree93034b53205f9b135ddef49e2e13aa7176c4d6bc /build.sh
parentd01c01726976e1025ee0ff20a3a8d7d580310cf1 (diff)
downloadaur-509e125356770eab9d40a75b73f647b2d6d8ddec.tar.gz
6.0.0-alpha.13
https://github.com/PowerShell/PowerShell/releases/tag/v6.0.0-alpha.13
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 000000000000..de97396b2159
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,20 @@
+#!/usr/bin/env bash
+
+dotnet restore
+
+pushd src/ResGen
+dotnet run -c Linux
+popd
+
+pushd src/TypeCatalogParser
+dotnet run -c Linux
+popd
+
+pushd src/TypeCatalogGen
+dotnet run -c Linux ../Microsoft.PowerShell.CoreCLR.AssemblyLoadContext/CorePsTypeCatalog.cs powershell.inc
+popd
+
+cd src/powershell-unix
+dotnet build -c Linux && dotnet publish --no-build -c Linux
+
+# vim:set ts=2 sw=2 et: