build Nez and the current project initially

added launch without building option
This commit is contained in:
Mike 2019-02-20 00:40:42 -08:00
parent 01b7180a68
commit 732ab31026
2 changed files with 16 additions and 2 deletions

14
.vscode/launch.json vendored
View File

@ -17,6 +17,20 @@
}, },
} }
}, },
{
"name": "Launch Without Building",
"type": "mono",
"request": "launch",
"program": "${workspaceFolder}/Fook/bin/Debug/Fook.exe",
"cwd": "${workspaceFolder}",
"osx":{
"env": {
"DYLD_LIBRARY_PATH": "${workspaceFolder}/Fook/bin/Debug/osx/"
},
}
},
{ {
"name": "Attach", "name": "Attach",
"type": "mono", "type": "mono",

View File

@ -162,9 +162,9 @@ git submodule update
command -v pbcopy > /dev/null 2>&1 command -v pbcopy > /dev/null 2>&1
if [ ! $? -eq 0 ]; then if [ ! $? -eq 0 ]; then
printf "\n\nManually run the following command:\n\nnuget restore Nez/Nez.sln && msbuild Nez/Nez.sln && msbuild /t:restore $newProjectName\n\n" printf "\n\nManually run the following command:\n\nnuget restore Nez/Nez.sln && msbuild Nez/Nez.sln && msbuild /t:restore $newProjectName && msbuild $newProjectName.sln\n\n"
else else
echo "nuget restore Nez/Nez.sln && msbuild Nez/Nez.sln && msbuild /t:restore $newProjectName" | pbcopy echo "nuget restore Nez/Nez.sln && msbuild Nez/Nez.sln && msbuild /t:restore $newProjectName && msbuild $newProjectName.sln" | pbcopy
echo "" echo ""
echo "A build command was copied to your clipboard. Paste and run it now." echo "A build command was copied to your clipboard. Paste and run it now."
echo "" echo ""