batsched is a set of [Batsim]-compatible algorithms implemented in C++.
Development setup prerequisites
- Install Nix with the
nix
command and nixflakes
enabled. This can be done via nix-portable or with a full install + configuration.
Dev workflow 1 (pure build every time)
- Hack some input files.
- (if you have added new files to Git that are needed to compile batsched, you must
git add
them) - Build batsched via
nix
:nix build .#batsched
from the git repository's root. - Use the
batsched
that has been compiled. It is available in./result/bin/batsched
Dev workflow 2 (iterative builds)
- Hack some input files.
- Enter a shell that you'll use to compile batsched:
nix develop .#batsched
. In this shell you can compile batsched how you'd do without Nix:-
meson setup build
once - then
ninja -C build
everytime you want to compile batsched
-
- Use the
batsched
that has been compiled. It is available in./build/batsched