-
-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathbuild
More file actions
26 lines (24 loc) · 699 Bytes
/
build
File metadata and controls
26 lines (24 loc) · 699 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#! /usr/bin/env bash
# -----------------------------------------------------------------------------------
# This file will build Spatial4n and package the Nuget builds.
#
# Syntax:
# build[.bat] [<options>]
#
# Available Options:
#
# --configuration <Configuration>
# -config <Configuration> - MSBuild configuration for the build.
#
# --test
# -t - Run the tests.
#
# All options are case insensitive.
#
# -----------------------------------------------------------------------------------
if ! command -v pwsh &> /dev/null
then
echo "Powershell Core could not be found. Please install version 3 or higher."
exit
fi
pwsh -ExecutionPolicy bypass -Command "& './build.ps1'" "$@"