Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make: use bm_generate_filename when building ctx | Rafael G. Martins | 2018-07-26 | 1 | -4/+5 |
| | |||||
* | make: prevent dereferencing segfaults. minor style fixes | Rafael G. Martins | 2018-07-26 | 1 | -6/+22 |
| | |||||
* | make: handle empty prefixes properly | Rafael G. Martins | 2018-07-24 | 1 | -2/+3 |
| | | | | still needs to add integration tests | ||||
* | Revert "Revert "make: fixed context reloading"" | Rafael G. Martins | 2018-03-14 | 1 | -10/+10 |
| | | | | This reverts commit 6dc12e00c852b143429b3db0c01cb9abcf102b8f. | ||||
* | Revert "make: fixed context reloading" | Rafael G. Martins | 2018-03-13 | 1 | -10/+10 |
| | | | | | | This reverts commit 89e2a39d1ee66a233b1cd21606ba66b32b902b08. This commit was reverted only to test the clang-analyzer travis job. | ||||
* | make: fixed context reloading | Rafael G. Martins | 2018-03-13 | 1 | -10/+10 |
| | | | | this bug was reported by clang-analyzer. | ||||
* | make: added `MAKE_POST` var to `posts` and `pages` rules | Rafael G. Martins | 2018-03-11 | 1 | -7/+10 |
| | | | | | | 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: typo | Rafael G. Martins | 2018-03-11 | 1 | -1/+1 |
| | |||||
* | make: do not run stat twice for regular files when copying | Rafael G. Martins | 2018-02-24 | 1 | -17/+21 |
| | |||||
* | make: copy rule should support directories, recursively | Rafael G. Martins | 2017-04-30 | 1 | -2/+47 |
| | | | | | | 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 | -11/+9 |
| | | | | | now it is only possible to override output directory using environment variable. this commit also reduces the number trie lookups. | ||||
* | make: all builds are "production" by default, enable "dev" on cli. | Rafael G. Martins | 2017-03-11 | 1 | -1/+1 |
| | | | | | | this is more consistent with other similar tools, and enables us to add something like a [copy:dev] section later, that will avoid copying dev files to production builds. | ||||
* | make: fix compilation on android | Rafael G. Martins | 2017-03-08 | 1 | -17/+22 |
| | |||||
* | make: add support to "production" builds | Rafael G. Martins | 2017-03-07 | 1 | -0/+1 |
| | | | | this is used by blogc-github-lambda and blogc-git-receiver. | ||||
* | make: fixed segfault when blogcfile not found | Rafael G. Martins | 2017-03-05 | 1 | -0/+2 |
| | |||||
* | make: splitted reloader | Rafael G. Martins | 2017-03-04 | 1 | -4/+7 |
| | |||||
* | make: reworked binary lookups, added them to ctx | Rafael G. Martins | 2017-03-03 | 1 | -2/+9 |
| | |||||
* | make: reworked ctx usage by exec functions | Rafael G. Martins | 2017-03-03 | 1 | -0/+1 |
| | |||||
* | *: updated copyright | Rafael G. Martins | 2017-02-25 | 1 | -1/+1 |
| | |||||
* | blogc-make: renamed copy_files settings to copy | Rafael G. Martins | 2017-02-14 | 1 | -8/+8 |
| | |||||
* | blogc-make: implemented automatic reloader for runserver rule | Rafael G. Martins | 2017-02-12 | 1 | -3/+107 |
| | | | | | 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 | -4/+2 |
| | |||||
* | make: fixed includes | Rafael G. Martins | 2017-01-03 | 1 | -2/+1 |
| | |||||
* | blogc-make: fixed clean rule | Rafael G. Martins | 2017-01-03 | 1 | -3/+9 |
| | |||||
* | github-lambda: blogc-make: integrate | Rafael G. Martins | 2016-12-27 | 1 | -0/+7 |
| | |||||
* | make: implemented a build tool for blogc | Rafael G. Martins | 2016-12-27 | 1 | -0/+172 |
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 ;) |