aboutsummaryrefslogtreecommitdiffstats
path: root/make-feed.lua
Commit message (Collapse)AuthorAgeFilesLines
* make scripts use custom require that doesn't care about not finding itgarret2022-11-281-0/+12
| | | | | | initial function and advice provided by regex man Co-authored-by: 9382 <omnomaidan@gmail.com>
* feedmaker: define fileBaseUrl per macrogarret2022-11-281-5/+8
| | | | i don't want this and i hope to eventually be able to revert this commit
* feedmaker: split file loading off into a function that throws error messagesgarret2022-11-271-11/+15
| | | | as opposed to the script just crashing
* feedmaker: moonscript supportgarret2022-11-271-8/+24
| | | | | actually surprisingly easy, thank you based moonscript (still hate the syntax)
* feedmaker: don't add the macros/modules table if nothing's in itgarret2022-11-261-14/+19
| | | | causes problems with depctrl-browser
* feedmaker: add moderately scuffed commandline argumentsgarret2022-11-261-6/+8
|
* feedmaker: make it add its directory to the lua pathgarret2022-11-261-0/+7
| | | | so scripts can access the fake depctrl
* feedmaker: use different fileBaseUrls for modules/macrosgarret2022-11-261-2/+7
|
* feedmaker: add module supportgarret2022-11-251-23/+68
|
* feedmaker: add knownFeeds supportgarret2022-11-201-4/+11
|
* feedmaker: add key:value table mergergarret2022-11-201-2/+13
|
* feedmaker: fixesgarret2022-11-201-8/+4
| | | | try and output a valid feed
* feedmaker: message when script ignoredgarret2022-11-201-1/+4
|
* feedmaker: fix goof with config ignore functiongarret2022-11-201-1/+1
|
* feedmaker: actual feed-making capabilitiesgarret2022-11-201-2/+43
|
* feedmaker: add io functions for stderr and file/stdiogarret2022-11-201-2/+13
|
* feedmaker: print errors to stderrgarret2022-11-201-2/+2
|
* feedmaker: metadata getter: move what i can to before the loadfile()garret2022-11-201-2/+2
| | | | | nothing is sacred after that point no sense in risking stuff changing when i could just move it up a bit
* feedmaker: metadata getter: add filenamegarret2022-11-201-1/+4
| | | | | not sure whether i was mistaken or not either way nice to have
* feedmaker: add metadata gettergarret2022-11-201-0/+33
| | | | | | | | should be everything you need for a depctrl feed if i'm not mistaken. yes, this runs arbitrary code. this is, however, a non-issue, because it's *your* arbitrary code. you (hopefully) know what you wrote, and what it does.
* couple more sensible variable namesgarret2022-11-201-1/+1
|
* feedmaker: initial commit (does not make feeds)garret2022-11-201-0/+66
currently: scans through a (hardcoded) macros directory and prints out what it found. files must be .lua files with a valid depctrl namespace to be included. the actual namespace checking is not yet 100%. required all the libs i'm likely to need (and inspect to make life easier)