fuzzyworld

template / ci-testing / files / postscript.go

Branch ci-testing · default branch · all branches

postscript.go

Commits that changed this file, newest first · file

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-211a02ef4Added ParametrizedText type.Pavel Safronov
2022-10-05763c260Adding a makefile and more tests.Pavel Safronov
2022-10-04185f54eStarting development on extras project: provide a way to pass in more properties by way of a YAML file. This will allow further templating of content.Pavel Safronov
2022-09-24d1bc130Fixed issue with post script needing to be split up. Now everything works as expected. Changes: - added "slices" package to do basic array checks (contains in this case) - made all post scripts []string, instead of [][]string - lowercased errors, because that's apparently the style - added Description to each profile - Description gets displayed when "template list" is run - started forbidding profile names that clash with actionsPavel Safronov
2022-09-244a7759dChanged a few things: - added folder profile, which creates a versioned folder in current location - added "create-react-app" profile, that creates a versioned folder in current locaiton and installs "create-react-app" there - added ability to have multiple script executions - added "template list" method: it lists the known profiles - added "template get XYZ" method: it shows XYZ profile as YAMLPavel Safronov
2022-09-23c62570eMinor reorganization: - put all name pattern stuff in one file - put all profile stuff in one file - split up the tests similarlyPavel Safronov