fuzzyworld

template / ci-testing / files / extras_test.go

Branch ci-testing · default branch · all branches

extras_test.go

Commits that changed this file, newest first · file

2022-11-1575a066bAdding linting to the project. This relies on `golangci-lint`, which has to be installed first.Pavel Safronov
2022-11-02886f7faStarting to add logging, made a lot of reporting messages into debug logs.Pavel Safronov
2022-11-01ae89a42Lots of small-ish changes: - Added support for user template files. This setting is exposed through a new parameter that has a default value of "~/.template.user.yaml". This file is combined with the "global" config: same-name profiles in user config replace profiles in global config. That's the merge. - Added more config validation in more places. - Standardized the name of the error variable to `err` across the project - Added a `make all` target that builds, runs tests, then installs the project locally - Added more information when a profile doesn't work on the current system - Postscript output is now captured and logged - Removed the no longer used (and "overloaded") findProfile functionPavel Safronov
2022-10-21b058643Starting work on creating files inside a templated folder. This commit gets all tests working as well.Pavel Safronov
2022-10-0605f9e8eAdded more tests.Pavel Safronov
2022-10-0555c36f6Got extras working: - added support for "extra" template data being available from YAML - added tests for extras - added a flag to use the default config (this is a test-only setting) - added VSCode launch task to debug testsPavel Safronov