Johannes Marbach
91529b736e
main: Mock file system and add getFile tests
...
This uses afero to proxy all file system accesses and then injects an
in-memory file system in order to test the getFile function.
2021-12-30 14:40:46 +01:00
Clayton Craft
d9f29af446
deviceinfo: implement a new simple parser (MR 4)
...
This replaces an external toml library with a simple parser for
unmarshalling a deviceinfo.
2021-09-09 20:20:41 -07:00
Clayton Craft
5dfd1e3787
use flag module from std lib for parsing cmdline args
...
The getopt thing was an experiment, and I'd rather lose external
dependencies than use getopt-like parsing especially since the only
argument this app takes is largely for testing/development purposes
only.
2021-09-04 23:51:26 -07:00
Clayton Craft
4293c887f8
Deviceinfo: replace toml lib, improve struct member names
...
See: #6
2021-09-03 22:47:02 -07:00
Clayton Craft
a928314ffb
include go.sum
...
https://github.com/golang/go/wiki/Modules#should-i-commit-my-gosum-file-as-well-as-my-gomod-file
`go mod tidy` was also run on the go.mod file
2021-08-10 14:05:58 -07:00
Clayton Craft
a381516e53
rename project to postmarketos-mkinitfs
...
To help prevent any confusion about which distro this 'mkinitfs' is
intended for
2021-08-10 14:03:34 -07:00
Clayton Craft
64195a5f83
initial commit
2021-08-09 15:23:39 -07:00