Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.36 KB

README.md

File metadata and controls

41 lines (29 loc) · 1.36 KB

Pintos

wercker status

An implementation of an operating system in C

Coding Style Conventions

This is a list of coding conventions followed by the members of the group during this project.

  • In pointers declaration the asterisk should be close to the variable name rather than the type. For example:

    int *a, *b, c;

  • When declaring any variable other than primitives use malloc even if they are only used in the current scope.

Local testing

Since we are using wercker, you can find the installation instructions for the wercker cli here. You will also need Docker installed and ready for use, instructions here.

$ wercker build

This will test using the most recent testing file (wercker.yml).

To add to the test file, let's say you have a sequence of commands to test a part of the codebase, you need to append them to the appropriate place in the build steps as below:

build:
  steps:
    ...
    - script:
      name: <TESTING COMMENT>
      code: |
        <COMMAND 1>
        <COMMAND 2>
        <COMMAND 3>
    ...

Team

Freddie Lindsey, Oliver Norton, James Lane, Elias Benussi