An implementation of an operating system in C
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.
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>
...
Freddie Lindsey, Oliver Norton, James Lane, Elias Benussi