nasser / nostrand

Clojure on Mono

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support nos script in .NET Core builds

nasser opened this issue · comments

We should provide a nos script for the .NET Core builds

commented

bin/x64/Debug/netcoreapp3.0/nos

#!/bin/bash
ACTUAL_PATH=`dirname "$0"`
LINKED_PATH=`readlink "$0"`
ASSEMBLY_PATH=$([ "$LINKED_PATH" ] && echo `dirname "$LINKED_PATH"` || echo "$ACTUAL_PATH")
dotnet $ASSEMBLY_PATH/Nostrand.dll "$@"

closed by #30, thanks @skydread1!