4 Using .gitignore to make sure that the work and out folder will never be pushed to the github and improving the build script

After creating article 3 I realised there is a more suitable solution for not getting the work and out directory on the github.

We need to tell git to ignore the work and out directory.

We create a file .gitignore and type in “work” and “out”. Both directories will now be ignored whenever we push the github online.

We also improved our build script.

We added a line to cleanup our build folder before we start building otherwise the build script will not work.