fuzzyworld

template / ci-testing / files / default_config.go

Branch ci-testing · default branch · all branches

default_config.go

Commits that changed this file, newest first · file

2022-11-20ed3d543Start using `.ProjectName | snakecase` in daily profile and document this usage, as well as sprig.Pavel Safronov
2022-11-205c81baeAdded sprig (https://github.com/Masterminds/sprig/blob/master/docs/index.md) functions support for templated strings.Pavel Safronov
2022-11-1575a066bAdding linting to the project. This relies on `golangci-lint`, which has to be installed first.Pavel Safronov
2022-11-125e424f1Added a flag to use default config settings instead of loading from disk. Did a bit of reorg as well, to simplify. Creating subfiles' subfolders now.Pavel Safronov
2022-11-0752e9ad7Removed pwsh dependency from both the Makefile and the default profiles.Pavel Safronov
2022-11-0610676daA few minor changes: - added a way to have a disabled profile - added a few more tests - made the new name method more generic by supplying a validator functionPavel Safronov
2022-11-038c15a71Refactored a bit: - made list/get/reset into actual commands - reworked how command settings are parsed, so this can happen (mostly) in the same spot - added a few notes to the readme - test updates - added a new profile "therapy-open" that opens the therapy folderPavel 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-30b1ded4bRewired main a bit, this improves organization.Pavel Safronov
2022-10-2811e8e4bSlight change to daily profile postscript: focus on the last file in the directory.Pavel Safronov
2022-10-28687d562Lots of internal changes: - simplified the pattern data to be of two types: pre-generation, post-generation, and this simplified a lot of things - simplifications and testing - added a way to run the postscripts even if the generation failed (for the 'daily' profile, this just opens VSCode in the destination folder)Pavel Safronov
2022-10-264ded421Removing TemplatePath. File templates are now loaded only from the config. Also made some simplifications and refactored where we calculate the full config path. Added a `reset` command (`template reset`) that will reset the config file to be the default config that's in the code.Pavel Safronov
2022-10-23dd78994Updated docs and removed all mentions of Dropbox. The default locations are now all directly under ~. Added support for passing arguments to make. Added disambiguation to one of the errors.Pavel Safronov
2022-10-215e7795dAdded support for creating files within a folder.Pavel Safronov
2022-10-211a02ef4Added ParametrizedText type.Pavel Safronov
2022-10-21b058643Starting work on creating files inside a templated folder. This commit gets all tests working as well.Pavel Safronov
2022-10-20ad5348dAdding therapy profile to default configs.Pavel Safronov
2022-10-124709ec6Added better logging to clean-install.ps1 Modifying the work profile to be cross-platform.Pavel Safronov
2022-10-1174f1d4fA few small changes: - moved default config to its own file - added extras error logic to handle cases when extras file doesn't exist - removed "--default-config" switch from VSCode launch tasks (doesn't seem to play well with others)Pavel Safronov