aboutsummaryrefslogtreecommitdiff
path: root/src/util.rs
AgeCommit message (Collapse)Author
2021-11-09Separate the binary and libraryDaniel Schadt
This uses the workspace feature of cargo, with the benefit that 1) We can more cleanly group the binary (user facing) code from the library 2) We can have dependencies that apply to the binary only The first point could've been achieved without workspaces (Cargo supports both binaries and libraries in a crate), but the second point is what really makes this approach a lot better.
2021-11-09more documentationDaniel Schadt
2021-11-09add -p flag to fix permissionsDaniel Schadt
This is useful if you run modderbaas as root but want the resulting directories to be owned by the right uid/gid.
2021-11-07remove fs_extra crateDaniel Schadt
The function that we needed from there is very small and easily implemented ourselves. On the other hand, fs_extra seemed to have some weird options going on and implemented the copy in a bit of a roundabout manner.