Skip to content

Commit c22328c

Browse files
authoredMar 25, 2017
Update Releasing.md
1 parent f6277e8 commit c22328c

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed
 

‎documentation/Releasing.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Instructions for releasing Principia
1+
# Instructions for releasing Principia
22

33
All commands are to be run using the GitHub for Windows git Powershell.
44

@@ -16,14 +16,14 @@ git push la-vache --tags
1616
After this is done, build the DLL using Profile Guided Optimization:
1717

1818
1. Select configuration `Release`, platform `x64`.
19-
* Remove all existing artifacts: `rm .\Release`.
20-
* Run `Build > Rebuild Solution`. This makes sure that the tools and generated code are up-to-date. It also creates the `journal_test.exe` binary.
21-
* Select project `ksp_plugin` and run `Build > Profile Guided Optimization > Instrument`.
22-
* Select project `journal` and run `Project > Set as StartUp Project`
23-
* With project `journal` selected, run `Project > Properties`. For configuration `Release` select the `Debugging` page and set `Command Arguments` to `--gtest_filter=PlayerTest.Benchmarks`.
24-
* Run `Debug > Start Without Debugging`.
25-
* Answer `Do Not Continue With Build` to the dialog box that asks if you would want to rebuild `ksp_plugin`.
26-
* Answer `Yes` to the dialog box that informs you that there were build errors.
27-
* The executable runs. This takes a long time, 3-4 times longer than without instrumentation. Have a cup of coffee.
28-
* Select project `ksp_plugin` and run `Build > Profile Guided Optimization > Optimize`. This creates the optimized `Principia.dll`.
29-
* Zip the contents of the `<root>\Principia\Release\GameData` folder into `principia <mathematician>.zip`.
19+
1. Remove all existing artifacts: `rm .\Release`.
20+
1. Run `Build > Rebuild Solution`. This makes sure that the tools and generated code are up-to-date. It also creates the `journal_test.exe` binary.
21+
1. Select project `ksp_plugin` and run `Build > Profile Guided Optimization > Instrument`.
22+
1. Select project `journal` and run `Project > Set as StartUp Project`
23+
1. With project `journal` selected, run `Project > Properties`. For configuration `Release` select the `Debugging` page and set `Command Arguments` to `--gtest_filter=PlayerTest.Benchmarks`.
24+
1. Run `Debug > Start Without Debugging`.
25+
1. Answer `Do Not Continue With Build` to the dialog box that asks if you would want to rebuild `ksp_plugin`.
26+
1. Answer `Yes` to the dialog box that informs you that there were build errors.
27+
1. The executable runs. This takes a long time, 3-4 times longer than without instrumentation. Have a cup of coffee.
28+
1. Select project `ksp_plugin` and run `Build > Profile Guided Optimization > Optimize`. This creates the optimized `Principia.dll`.
29+
1. Zip the contents of the `<root>\Principia\Release\GameData` folder into `principia <mathematician>.zip`.

0 commit comments

Comments
 (0)
Please sign in to comment.