fixes a strange restore behavior

vnext
Paul Schneider 4 years ago
parent c0dc1e2fba
commit 8a9bbc8190
5 changed files with 30 additions and 3 deletions

@ -19,6 +19,14 @@ updatedeps:
cp src/Yavsc/bin/output/approot/packages/*/*/lib/*net451*/*.dll private/lib/
cp src/Yavsc/bin/output/approot/packages/*/*/lib/*dnx451*/*.dll private/lib/
restore:
make -C src/OAuth.AspNet.AuthServer restore
make -C src/OAuth.AspNet.Token restore
make -C src/Yavsc.Server restore
make -C src/Yavsc restore
make -C src/cli restore
make -C src/test restore
test:
make -C src/test

@ -34,5 +34,11 @@
"dnx451": {
"frameworkAssemblies": {}
}
},
"scripts": {
"postrestore": [
"grep -v '\\.\\.dll' project.lock.json > new.project.lock.json",
"mv new.project.lock.json project.lock.json"
]
}
}

@ -120,5 +120,11 @@
"commands": {
"ef": "EntityFramework.Commands",
"gen": "Microsoft.Extensions.CodeGeneration"
},
"scripts": {
"postrestore": [
"grep -v '\\.\\.dll' project.lock.json > new.project.lock.json",
"mv new.project.lock.json project.lock.json"
]
}
}

@ -31,8 +31,8 @@
"contrib"
],
"buildOptions": {
"debugType": "full",
"emitEntryPoint": true,
"debugType": "portable",
"emitEntryPoint": false,
"outputName": "Yavsc",
"compile": {
"include": "*.cs",
@ -185,7 +185,11 @@
]
},
"scripts": {
"prepublish": "make minify"
"prepublish": "make minify",
"postrestore": [
"grep -v '\\.\\.dll' project.lock.json > new.project.lock.json",
"mv new.project.lock.json project.lock.json"
]
},
"embed": "Views/**/*.cshtml"
}

@ -30,6 +30,9 @@ node_modules/ansi-to-html:
test: $(BINTARGET) node_modules/ansi-to-html
ASPNET_ENV=Development dnx test -maxthreads 1 -trait regres=no
restore:
dnu restore --ignore-failed-sources
clean:
rm -rf bin obj testingrepo

Loading…