/cs3203-project

CS3203 AY2021S2 Project

Primary LanguageC++

CS3203 Team 28

CircleCI

Development

Formatting the code

make format

Building the project

There are a few ways you can build the project:

  1. Use your favourite IDE, e.g. Visual Studio or CLion.
  2. Use the Bash scripts provided in Team28/Code28/scripts (see Installing Python and its packages). You can run either:
    • Team28/Code28/scripts/build.sh, which builds the project, or
    • Team28/Code28/scripts/build_and_autotest.sh, which builds the project and runs the system tests defined in Team28/Tests28 using autotester.

Running autotester

There are a few ways you can run autotester:

  1. Powershell
    • Build the project (see Building the project).
    • Run Windows Powershell as Administrator.
    • You may need to run Set-ExecutionPolicy Unrestricted to enable execution of remote scripts.
    • Run cd Team28\Code28\scripts.
    • Run .\autotest.ps1.
  2. Python
  3. Bash

Installing Python and its packages

Some of our scripts in Team28/Code28/scripts, namely build.sh, build_and_autotest.sh, and autotest.py, depend on Python 3.6+ and some packages which can be installed from pip.

To run these scripts:

  • Ensure that Python 3.6+ is installed.
  • Run pip install -r Team28/Code28/scripts/requirements.txt.