feat: added nix flake #5

Merged
cafkafk merged 8 commits from dev into main 2023-06-18 20:02:36 +02:00

8 commits

Author SHA1 Message Date
Christina Sørensen
097e6fd798
chore: version bump to v0.0.3
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-06-18 19:57:13 +02:00
Christina Sørensen
30fe7943f1
refactor: removed redundant line in Cargo.toml
We only need one of license or license-file, so license-file was
removed.

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-06-18 19:56:51 +02:00
Christina Sørensen
d61a46d4e5
test: removed unused ./test dir
The test dir was already copied into ./src/test, and this was redundant.

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-06-18 19:44:45 +02:00
Christina Sørensen
5e974e213d
refactor: improved GitRepo assoc. function debug
Made the GitRepo associated functions easier to debug, by providing
additional output of the struct when running the git command on the repo
fails.

Also removed commented out code in main.

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-06-18 19:39:50 +02:00
Christina Sørensen
cab7f72e28
refactor: removed unused code from flake
Most of this was introduced during the process of getting the flake to
work.

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-06-18 19:34:51 +02:00
Christina Sørensen
551c406591
WIP: mvp flake working
This still has an issue, because tests cannot run with network inside of
the flake.

When this is solved, the code just needs to be refactored and it's
ready.

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-06-17 14:11:42 +02:00
Christina Sørensen
ce2ceee129
feat: started flakification
The flake is still not fully functional.

First, it seems nescesarry to get a solid system for relative paths,
so that we can run tests inside of a nix build.

To iterate on this, use `nix flake check`.
2023-06-14 18:52:02 +02:00
Christina Sørensen
a9abc4fed5
Refactor: Fixed various clippy errors
It should be self evident from the diff what was changed and why.

This is to prepare for the flake-ification of the project.
2023-06-14 18:38:11 +02:00