Skip to content

Commit

Permalink
Update build docs and fix bash shebangs (#150)
Browse files Browse the repository at this point in the history
* Update build docs and fix bash shebangs

* Make script support a little more correct.
  • Loading branch information
am11 authored and crummel committed Aug 22, 2018
1 parent c232809 commit c296c39
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 16 deletions.
10 changes: 8 additions & 2 deletions README.md
Expand Up @@ -44,11 +44,17 @@ You can use these scripts to build the .NET Core product for Windows, macOS or L

## Using the Scripts

The scripts are currently support only Linux at the moment. Windows and OSX are in the pipeline.
The scripts are supported on Windows, macOS and Linux. The scripts are based on PowerShell on Windows and Bash on macOS and Linux. Currently, Windows scripts only build through core-setup and do not build the complete SDK.

If you are building on Windows or OSX, building is possible via Docker. (https://hub.docker.com/r/microsoft/dotnet/)

### Build on Linux
### Build on Windows

```console
./build.ps1
```

### Build on Linux or macOS

```console
./build.sh
Expand Down
2 changes: 1 addition & 1 deletion arm-ci.sh
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
__currentWorkingDirectory=`pwd`
__buildArch=$1
shift;
Expand Down
10 changes: 5 additions & 5 deletions armdeps.sh
@@ -1,5 +1,5 @@
#!/bin/bash
apt-get install qemu qemu-user-static binfmt-support debootstrap libxml2-utils docker binutils-arm-linux-gnueabihf
./cross/build-rootfs.sh armel tizen
#!/usr/bin/env bash

apt-get install qemu qemu-user-static binfmt-support debootstrap libxml2-utils docker binutils-arm-linux-gnueabihf

./cross/build-rootfs.sh armel tizen
2 changes: 1 addition & 1 deletion build-source-tarball.sh
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'

Expand Down
2 changes: 1 addition & 1 deletion build.sh
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'

Expand Down
2 changes: 1 addition & 1 deletion check-submodules.sh
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'

Expand Down
2 changes: 1 addition & 1 deletion docker/build-docker-images.sh
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
SCRIPT_ROOT="$(cd -P "$( dirname "$0" )" && pwd)"
Expand Down
2 changes: 1 addition & 1 deletion extract-patches.sh
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'

Expand Down
2 changes: 1 addition & 1 deletion scripts/docker/docker-run.sh
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'

Expand Down
2 changes: 1 addition & 1 deletion smoke-test.sh
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail

SCRIPT_ROOT="$(cd -P "$( dirname "$0" )" && pwd)"
Expand Down
2 changes: 1 addition & 1 deletion support/tarball/build.sh
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'

Expand Down

0 comments on commit c296c39

Please sign in to comment.