Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make: added support for `blogc -e` | Rafael G. Martins | 2019-04-03 | 1 | -19/+20 |
| | | | | must still add tests | ||||
* | make: exit 1 on error | Rafael G. Martins | 2019-03-28 | 1 | -4/+4 |
| | |||||
* | *: update copyright | Rafael G. Martins | 2019-01-15 | 1 | -1/+1 |
| | |||||
* | make: fixed bug when trying to call a rule with incomplete name | Rafael G. Martins | 2019-01-15 | 1 | -1/+2 |
| | | | | | previous code was calling all the rules that matched the substring provided. it should only run exact matches. | ||||
* | *: update copyright | Rafael G. Martins | 2018-10-14 | 1 | -1/+1 |
| | |||||
* | make: added atom_dump helper rule | Rafael G. Martins | 2018-07-26 | 1 | -0/+22 |
| | |||||
* | make: prevent dereferencing segfaults. minor style fixes | Rafael G. Martins | 2018-07-26 | 1 | -46/+54 |
| | |||||
* | make: added utilitary function to generate filenames | Rafael G. Martins | 2018-07-25 | 1 | -24/+19 |
| | |||||
* | make: handle empty prefixes properly | Rafael G. Martins | 2018-07-24 | 1 | -9/+13 |
| | | | | still needs to add integration tests | ||||
* | make: disable post listings if {atom_,}posts_per_page is 0 | Rafael G. Martins | 2018-06-10 | 1 | -1/+28 |
| | |||||
* | Revert "make: disable pagination rules if <= 0 posts per page" | Rafael G. Martins | 2018-06-10 | 1 | -27/+3 |
| | | | | | | This reverts commit cab17026f64ba78bfd9dcac6327607af8e396ebd. Poorly implemented :/ | ||||
* | make: disable pagination rules if <= 0 posts per page | Rafael G. Martins | 2018-06-09 | 1 | -3/+27 |
| | |||||
* | make: fixed typo. `tags` rule was using `atom_posts_per_page` | Rafael G. Martins | 2018-06-09 | 1 | -1/+1 |
| | |||||
* | make: added 'watch' rule. improved 'runserver' rule. | Rafael G. Martins | 2018-05-13 | 1 | -9/+18 |
| | |||||
* | make: fixed pagination, added tests | Rafael G. Martins | 2018-03-20 | 1 | -2/+2 |
| | |||||
* | make: allow to disable pagination by setting posts_per_page<0 | Rafael G. Martins | 2018-03-20 | 1 | -15/+23 |
| | |||||
* | make: avoid infinite-loop if posts_per_page <= 0 | Rafael G. Martins | 2018-03-20 | 1 | -0/+3 |
| | |||||
* | make: added `MAKE_POST` var to `posts` and `pages` rules | Rafael G. Martins | 2018-03-11 | 1 | -15/+23 |
| | | | | | | This variable will have the same string that was inserted in tbe `blogcfile` when listing posts and pages, and is useful to highlight active menu items, for example. | ||||
* | make: do not run stat twice for regular files when copying | Rafael G. Martins | 2018-02-24 | 1 | -8/+8 |
| | |||||
* | make: improved runserver docs | Rafael G. Martins | 2017-11-19 | 1 | -1/+2 |
| | |||||
* | make: renamed bm_exec_empty_dir() | Rafael G. Martins | 2017-09-14 | 1 | -1/+1 |
| | |||||
* | make: added 'html_order' and 'atom_order' settings | Rafael G. Martins | 2017-08-03 | 1 | -0/+20 |
| | | | | | | | these settings are used to change the order of the posts on the listings. by default, users are supposed to list their posts from older to newer in the blogcfile, and blogc-make will list them on descending order, both for html listings and atom listings. | ||||
* | make: rules: do not run httpd if reloader failed to start | Rafael G. Martins | 2017-07-23 | 1 | -0/+3 |
| | |||||
* | make: copy rule should support directories, recursively | Rafael G. Martins | 2017-04-30 | 1 | -2/+4 |
| | | | | | | now any directories listed in the [copy] section of blogcfile will have its files copied recursively to the output dir. this is useful for big chunks of generated files, e.g. doxygen documentation. | ||||
* | make: settings: do not read output_dir from blogcfile | Rafael G. Martins | 2017-04-28 | 1 | -27/+14 |
| | | | | | now it is only possible to override output directory using environment variable. this commit also reduces the number trie lookups. | ||||
* | make: fix compilation on android | Rafael G. Martins | 2017-03-08 | 1 | -3/+3 |
| | |||||
* | make: make the reloader interface generic | Rafael G. Martins | 2017-03-04 | 1 | -1/+1 |
| | | | | this way it can run any rule, even if we don't need this feature now | ||||
* | make: splitted reloader | Rafael G. Martins | 2017-03-04 | 1 | -69/+5 |
| | |||||
* | make: removed useless "verbose" variables | Rafael G. Martins | 2017-03-04 | 1 | -25/+21 |
| | |||||
* | make: reworked ctx usage by exec functions | Rafael G. Martins | 2017-03-03 | 1 | -20/+16 |
| | |||||
* | make: improved runserver thread handling | Rafael G. Martins | 2017-02-27 | 1 | -24/+27 |
| | |||||
* | *: updated copyright | Rafael G. Martins | 2017-02-25 | 1 | -1/+1 |
| | |||||
* | make: parse runserver arguments from cli, instead of env | Rafael G. Martins | 2017-02-24 | 1 | -26/+77 |
| | | | | this is some over-optimized parser, to celebrate #cloudbleed :D | ||||
* | blogc-make: renamed copy_files settings to copy | Rafael G. Martins | 2017-02-14 | 1 | -10/+10 |
| | |||||
* | blogc-make: renamed auto-defined vars to MAKE_* | Rafael G. Martins | 2017-02-13 | 1 | -14/+14 |
| | |||||
* | blogc-make: use absolute path for runserver rule | Rafael G. Martins | 2017-02-12 | 1 | -1/+1 |
| | |||||
* | blogc-make: implemented automatic reloader for runserver rule | Rafael G. Martins | 2017-02-12 | 1 | -1/+67 |
| | | | | | this is not the best implementation possible, but it works for most use cases | ||||
* | make: improved clean rule | Rafael G. Martins | 2017-01-30 | 1 | -0/+4 |
| | |||||
* | make: fixed includes | Rafael G. Martins | 2017-01-03 | 1 | -4/+2 |
| | |||||
* | blogc-make: fixed clean rule | Rafael G. Martins | 2017-01-03 | 1 | -1/+1 |
| | |||||
* | make: implemented runserver rule | Rafael G. Martins | 2016-12-27 | 1 | -0/+20 |
| | |||||
* | make: convert "all" into an actual rule | Rafael G. Martins | 2016-12-27 | 1 | -22/+48 |
| | |||||
* | make: implemented a build tool for blogc | Rafael G. Martins | 2016-12-27 | 1 | -0/+752 |
so, this is basically what happens when you don't have anything better to do in the christmas weekend. most of this code was written in the last 2 or 3 days. i'd like to thank the chivas brothers, the weather and my psychological problems for this achievement. on a serious note, this tool still needs a man page, more tests, and the aws lambda function should be adapted to use it instead of (or together with) make/busybox. also, while talking about aws lambda, this tool can be nicely embedded into the blogc binary, to produce a single "small" static binary for usage in lambda ;) |