From cc05381fe68399deb1d97520df7eef2f3a8b6b6c Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Fri, 13 Nov 2015 13:54:44 -0800 Subject: [PATCH] Add quickly written build scripts These are from from correct. --- build.sh | 8 ++++++++ nuke.sh | 9 +++++++++ publish.sh | 5 +++++ restore.sh | 9 +++++++++ 4 files changed, 31 insertions(+) create mode 100755 build.sh create mode 100755 nuke.sh create mode 100755 publish.sh create mode 100755 restore.sh diff --git a/build.sh b/build.sh new file mode 100755 index 0000000000..f5497b4c9c --- /dev/null +++ b/build.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +for dir in $(find . -maxdepth 2 -name project.json | parallel dirname) +do + pushd $dir + dnu build + popd +done diff --git a/nuke.sh b/nuke.sh new file mode 100755 index 0000000000..439f469e9d --- /dev/null +++ b/nuke.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +rm -rf bin +for dir in $(find . -maxdepth 2 -name project.json | parallel dirname) +do + pushd $dir + rm -rf bin + popd +done diff --git a/publish.sh b/publish.sh new file mode 100755 index 0000000000..92a4d705e0 --- /dev/null +++ b/publish.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +pushd Microsoft.PowerShell.Linux.Host +dnu publish --out bin --runtime dnx-coreclr-linux-x64.1.0.0-rc2-16128 --no-source +popd diff --git a/restore.sh b/restore.sh new file mode 100755 index 0000000000..d53cc593c9 --- /dev/null +++ b/restore.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +for dir in $(find . -maxdepth 2 -name project.json | parallel dirname) +do + echo $dir + pushd $dir + dnu restore + popd +done