All Downloads are FREE. Search and download functionalities are using the official Maven repository.

aspnet5.build.mustache Maven / Gradle / Ivy

There is a newer version: 3.0.0-rc1
Show newest version
#!/usr/bin/env bash

if ! type dnvm > /dev/null 2>&1; then
    source /usr/local/lib/dnx/bin/dnvm.sh
fi

if ! type dnu > /dev/null 2>&1 || [ -z "$SKIP_DNX_INSTALL" ]; then
    dnvm install latest -runtime coreclr -alias default
    dnvm install default -runtime mono -alias default
else
    dnvm use default -runtime mono
fi

dnu restore src/{{packageName}}/ && \
    dnu build src/{{packageName}}/ && \
    dnu pack src/{{packageName}}/ --out artifacts && \
    echo "Now, run the following to start the project: dnx --project src/{{packageName}}/project.json web"




© 2015 - 2025 Weber Informatics LLC | Privacy Policy