newlines and readme

This commit is contained in:
Mike 2019-02-13 15:09:44 -08:00
parent b2a1c60372
commit fda738047c
2 changed files with 5 additions and 3 deletions

View File

@ -23,6 +23,8 @@ Start new FNA projects with Nez quickly and easily with handy setup scripts, a v
That's it! Now you're ready to build and run the base project. When developing raw content (files not processed by the Pipeline tool) should be placed in the `Content` folder and anything that needs processing should go in the `CompiledContent` folder and added to the Pipeline tool. That's it! Now you're ready to build and run the base project. When developing raw content (files not processed by the Pipeline tool) should be placed in the `Content` folder and anything that needs processing should go in the `CompiledContent` folder and added to the Pipeline tool.
The setup process will also init a git repo for you with Nez added as a submodule.
If you want to see the output of `Debug.*` calls in the VS Code Debug Console, you have to install a listener by adding this somewhere in your code (Game1 by default has one for you): `System.Diagnostics.Debug.Listeners.Add(new System.Diagnostics.TextWriterTraceListener(System.Console.Out));` If you want to see the output of `Debug.*` calls in the VS Code Debug Console, you have to install a listener by adding this somewhere in your code (Game1 by default has one for you): `System.Diagnostics.Debug.Listeners.Add(new System.Diagnostics.TextWriterTraceListener(System.Console.Out));`

View File

@ -42,7 +42,7 @@ function downloadFNA()
echo "Downloading FNA..." echo "Downloading FNA..."
git -C $MY_DIR clone https://github.com/FNA-XNA/FNA.git --recursive git -C $MY_DIR clone https://github.com/FNA-XNA/FNA.git --recursive
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo "Finished downloading!\n" echo "Finished downloading!"
else else
echo >&2 "ERROR: Unable to download successfully. Maybe try again later?" echo >&2 "ERROR: Unable to download successfully. Maybe try again later?"
fi fi
@ -55,7 +55,7 @@ function updateFNA()
echo "Updating to the latest git version of FNA..." echo "Updating to the latest git version of FNA..."
git -C "$MY_DIR/FNA" pull --recurse-submodules git -C "$MY_DIR/FNA" pull --recurse-submodules
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo "Finished updating!\n" echo "Finished updating!"
else else
echo >&2 "ERROR: Unable to update." echo >&2 "ERROR: Unable to update."
exit 1 exit 1
@ -214,5 +214,5 @@ if [ ! $? -eq 0 ]; then
printf "\n\nManually run the following command:\n\nnuget restore Nez.FNA/Nez/Nez.sln && msbuild Nez.FNA/Nez/Nez.sln && msbuild /t:restore $newProjectName\n\n" printf "\n\nManually run the following command:\n\nnuget restore Nez.FNA/Nez/Nez.sln && msbuild Nez.FNA/Nez/Nez.sln && msbuild /t:restore $newProjectName\n\n"
else else
echo "nuget restore Nez.FNA/Nez/Nez.sln && msbuild Nez.FNA/Nez/Nez.sln && msbuild /t:restore $newProjectName" | pbcopy echo "nuget restore Nez.FNA/Nez/Nez.sln && msbuild Nez.FNA/Nez/Nez.sln && msbuild /t:restore $newProjectName" | pbcopy
echo "command copied to your clipboard\n" echo "command copied to your clipboard"
fi fi