Below are the details about a very simple CI setup, the one that simply checks GitHub for changes to ‘master’ and if
there were any, runs FAKE build script.
First FAKE script:
The only part that should be interesting (the rest is standard FAKE) is conditional dependency for ‘Default’ task.
It depends on returned value from a custom FAKE task that checks if there are changes on GitHub.
Here is the custom task:
That is all – “simple” is the keyword :) – here is the screenshot of it running:
Till next time…
“The sample implements a simple game flow with a main menu, an options screen, some actual gameplay, and a pause menu. It displays a loading screen between the menus and gameplay, and uses a popup message box to confirm whether the user really wants to quit.
The ScreenManager class is a reusable component that maintains a stack of one or more GameScreen instances. It coordinates the transitions from one screen to another, and takes care of routing user input to whichever screen is on top of the stack.”
via F# for game development: Game state management using cooperative multitasking.