mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Add local pack script. Remove dnx451 framework references. May add back later if needed.
This commit is contained in:
22
pack-local.sh
Executable file
22
pack-local.sh
Executable file
@@ -0,0 +1,22 @@
|
|||||||
|
versionSuffix=$1
|
||||||
|
dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
projects=(
|
||||||
|
./src/Microsoft.AspNetCore.NodeServices
|
||||||
|
./src/Microsoft.AspNetCore.SpaServices
|
||||||
|
./src/Microsoft.AspNetCore.AngularServices
|
||||||
|
./src/Microsoft.AspNetCore.ReactServices
|
||||||
|
)
|
||||||
|
|
||||||
|
if [ -z "$versionSuffix" ]; then
|
||||||
|
echo "Usage: pack-local.sh <versionsuffix>"
|
||||||
|
echo "Example: pack-local.sh beta-000001"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
pushd $dir > /dev/null
|
||||||
|
|
||||||
|
for proj in "${projects[@]}"; do
|
||||||
|
dotnet pack $proj --version-suffix $versionSuffix -o ./artifacts/
|
||||||
|
done
|
||||||
|
|
||||||
|
popd > /dev/null
|
||||||
@@ -23,7 +23,6 @@
|
|||||||
"Microsoft.AspNetCore.NodeServices": "1.0.0-*"
|
"Microsoft.AspNetCore.NodeServices": "1.0.0-*"
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": {},
|
|
||||||
"netstandardapp1.5": {
|
"netstandardapp1.5": {
|
||||||
"imports": [
|
"imports": [
|
||||||
"dnxcore50",
|
"dnxcore50",
|
||||||
|
|||||||
@@ -28,7 +28,6 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": {},
|
|
||||||
"netstandardapp1.5": {
|
"netstandardapp1.5": {
|
||||||
"imports": [
|
"imports": [
|
||||||
"dnxcore50",
|
"dnxcore50",
|
||||||
|
|||||||
@@ -22,7 +22,6 @@
|
|||||||
"web": "Microsoft.AspNetCore.Server.Kestrel"
|
"web": "Microsoft.AspNetCore.Server.Kestrel"
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": {},
|
|
||||||
"netstandardapp1.5": {
|
"netstandardapp1.5": {
|
||||||
"imports": [
|
"imports": [
|
||||||
"dnxcore50",
|
"dnxcore50",
|
||||||
|
|||||||
@@ -13,7 +13,6 @@
|
|||||||
"defaultNamespace": "Microsoft.AspNetCore.AngularServices"
|
"defaultNamespace": "Microsoft.AspNetCore.AngularServices"
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": {},
|
|
||||||
"netstandardapp1.5": {
|
"netstandardapp1.5": {
|
||||||
"imports": [
|
"imports": [
|
||||||
"dnxcore50",
|
"dnxcore50",
|
||||||
|
|||||||
@@ -16,7 +16,6 @@
|
|||||||
"Newtonsoft.Json": "8.0.3"
|
"Newtonsoft.Json": "8.0.3"
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": {},
|
|
||||||
"netstandardapp1.5": {
|
"netstandardapp1.5": {
|
||||||
"imports": [
|
"imports": [
|
||||||
"dnxcore50",
|
"dnxcore50",
|
||||||
|
|||||||
@@ -18,7 +18,6 @@
|
|||||||
"Microsoft.AspNetCore.SpaServices": "1.0.0-*"
|
"Microsoft.AspNetCore.SpaServices": "1.0.0-*"
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": {},
|
|
||||||
"netstandardapp1.5": {
|
"netstandardapp1.5": {
|
||||||
"imports": [
|
"imports": [
|
||||||
"dnxcore50",
|
"dnxcore50",
|
||||||
|
|||||||
@@ -18,7 +18,6 @@
|
|||||||
"Microsoft.AspNetCore.NodeServices": "1.0.0-*"
|
"Microsoft.AspNetCore.NodeServices": "1.0.0-*"
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": {},
|
|
||||||
"netstandardapp1.5": {
|
"netstandardapp1.5": {
|
||||||
"imports": [
|
"imports": [
|
||||||
"dnxcore50",
|
"dnxcore50",
|
||||||
|
|||||||
@@ -28,7 +28,6 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": {},
|
|
||||||
"netstandardapp1.5": {
|
"netstandardapp1.5": {
|
||||||
"imports": [
|
"imports": [
|
||||||
"dnxcore50",
|
"dnxcore50",
|
||||||
|
|||||||
@@ -28,7 +28,6 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": {},
|
|
||||||
"netstandardapp1.5": {
|
"netstandardapp1.5": {
|
||||||
"imports": [
|
"imports": [
|
||||||
"dnxcore50",
|
"dnxcore50",
|
||||||
|
|||||||
@@ -28,7 +28,6 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": {},
|
|
||||||
"netstandardapp1.5": {
|
"netstandardapp1.5": {
|
||||||
"imports": [
|
"imports": [
|
||||||
"dnxcore50",
|
"dnxcore50",
|
||||||
|
|||||||
@@ -28,7 +28,6 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": {},
|
|
||||||
"netstandardapp1.5": {
|
"netstandardapp1.5": {
|
||||||
"imports": [
|
"imports": [
|
||||||
"dnxcore50",
|
"dnxcore50",
|
||||||
|
|||||||
@@ -27,7 +27,6 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": {},
|
|
||||||
"netstandardapp1.5": {
|
"netstandardapp1.5": {
|
||||||
"imports": [
|
"imports": [
|
||||||
"dnxcore50",
|
"dnxcore50",
|
||||||
|
|||||||
Reference in New Issue
Block a user