GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Cake.XComponent/build.sh at master · xcomponent/Cake.XComponent Expand file tree/ Copy pathbuild.shMore file actions executable file ·75 lines (64 loc) · 2.12 KB / Copy pathbuild.shFile metadata and controlsexecutable file ·75 lines (64 loc) · 2.12 KB 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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 #!/usr/bin/env bash ########################################################################## # This is the Cake bootstrapper script for Linux and OS X. # This file was downloaded from https://github.com/cake-build/resources # Feel free to change this file to fit your needs. ########################################################################## # Define directories. SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) TOOLS_DIR=$SCRIPT_DIR/tools PACKAGES_CSPROJ=$TOOLS_DIR/packages.csproj PACKAGES_CSPROJ_MD5=$TOOLS_DIR/packages.csproj.md5sum # Define md5sum or md5 depending on Linux/OSX MD5_EXE= if [[ "$(uname -s)" == "Darwin" ]]; then MD5_EXE="md5 -r" else MD5_EXE="md5sum" fi # Define default arguments. SCRIPT="build.cake" TARGET="Build" CONFIGURATION="Release" VERBOSITY="verbose" DRYRUN= SHOW_VERSION=false SCRIPT_ARGUMENTS=() # Parse arguments. for i in "$@"; do case $1 in -s|--script) SCRIPT="$2"; shift ;; -t|--target) TARGET="$2"; shift ;; -c|--configuration) CONFIGURATION="$2"; shift ;; -v|--verbosity) VERBOSITY="$2"; shift ;; -d|--dryrun) DRYRUN="-dryrun" ;; --version) SHOW_VERSION=true ;; --) shift; SCRIPT_ARGUMENTS+=("$@"); break ;; *) SCRIPT_ARGUMENTS+=("$1") ;; esac shift done # Restore tools from NuGet. pushd "$TOOLS_DIR" >/dev/null if [ ! -f $PACKAGES_CSPROJ_MD5 ] || [ "$( cat $PACKAGES_CSPROJ_MD5 | sed 's/\r$//' )" != "$( $MD5_EXE $PACKAGES_CSPROJ | awk '{ print $1 }' )" ]; then find . -type d ! -name . | xargs rm -rf fi dotnet restore $PACKAGES_CSPROJ --packages $TOOLS_DIR if [ $? -ne 0 ]; then echo "Could not restore NuGet packages." exit 1 fi $MD5_EXE $PACKAGES_CSPROJ | awk '{ print $1 }' >| $PACKAGES_CSPROJ_MD5 popd >/dev/null # Make sure that Cake has been installed. CAKE_DLL="$(find . -name Cake.dll)" if [ ! -f "$CAKE_DLL" ]; then echo "Could not find Cake.dll in tools folder." exit 1 fi # Start Cake if $SHOW_VERSION; then dotnet "$CAKE_DLL" --version else dotnet "$CAKE_DLL" $SCRIPT --verbosity=$VERBOSITY --configuration=$CONFIGURATION --target=$TARGET $DRYRUN ${SCRIPT_ARGUMENTS[@]} fi |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |