# How to force compile a SMILE project?

  1. Enter sbt shell, run command prepareForce

    optional: precede with command clean to clean the src-gen files

  2. run command generateForce

  3. run command compile

Here are 3 ways to achieve the same:

[Lottery] $ clean #optional
[Lottery] $ prepareForce
[Lottery] $ generateForce
[Lottery] $ compile

or

[Lottery] $ clean; prepareForce; generateForce; compile

or

[Lottery] $ clean-compile