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/*net451*/*.dll private/lib/
cp src/Yavsc/bin/output/approot/packages/*/*/lib/*dnx451*/*.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: test:
make -C src/test make -C src/test

@ -34,5 +34,11 @@
"dnx451": { "dnx451": {
"frameworkAssemblies": {} "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": { "commands": {
"ef": "EntityFramework.Commands", "ef": "EntityFramework.Commands",
"gen": "Microsoft.Extensions.CodeGeneration" "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" "contrib"
], ],
"buildOptions": { "buildOptions": {
"debugType": "full", "debugType": "portable",
"emitEntryPoint": true, "emitEntryPoint": false,
"outputName": "Yavsc", "outputName": "Yavsc",
"compile": { "compile": {
"include": "*.cs", "include": "*.cs",
@ -185,7 +185,11 @@
] ]
}, },
"scripts": { "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" "embed": "Views/**/*.cshtml"
} }

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

Loading…