fixes a strange restore behavior
This commit is contained in:
8
Makefile
8
Makefile
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user