aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make/ctx.c
Commit message (Collapse)AuthorAgeFilesLines
* make: remove unused variableRafael G. Martins2018-07-261-1/+0
|
* make: use bm_generate_filename when building ctxRafael G. Martins2018-07-261-4/+5
|
* make: prevent dereferencing segfaults. minor style fixesRafael G. Martins2018-07-261-6/+22
|
* make: handle empty prefixes properlyRafael G. Martins2018-07-241-2/+3
| | | | still needs to add integration tests
* Revert "Revert "make: fixed context reloading""Rafael G. Martins2018-03-141-10/+10
| | | | This reverts commit 6dc12e00c852b143429b3db0c01cb9abcf102b8f.
* Revert "make: fixed context reloading"Rafael G. Martins2018-03-131-10/+10
| | | | | | This reverts commit 89e2a39d1ee66a233b1cd21606ba66b32b902b08. This commit was reverted only to test the clang-analyzer travis job.
* make: fixed context reloadingRafael G. Martins2018-03-131-10/+10
| | | | this bug was reported by clang-analyzer.
* make: added `MAKE_POST` var to `posts` and `pages` rulesRafael G. Martins2018-03-111-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: typoRafael G. Martins2018-03-111-1/+1
|
* make: do not run stat twice for regular files when copyingRafael G. Martins2018-02-241-17/+21
|
* make: copy rule should support directories, recursivelyRafael G. Martins2017-04-301-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 blogcfileRafael G. Martins2017-04-281-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. Martins2017-03-111-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 androidRafael G. Martins2017-03-081-17/+22
|
* make: add support to "production" buildsRafael G. Martins2017-03-071-0/+1
| | | | this is used by blogc-github-lambda and blogc-git-receiver.
* make: fixed segfault when blogcfile not foundRafael G. Martins2017-03-051-0/+2
|
* make: splitted reloaderRafael G. Martins2017-03-041-4/+7
|
* make: reworked binary lookups, added them to ctxRafael G. Martins2017-03-031-2/+9
|
* make: reworked ctx usage by exec functionsRafael G. Martins2017-03-031-0/+1
|
* *: updated copyrightRafael G. Martins2017-02-251-1/+1
|
* blogc-make: renamed copy_files settings to copyRafael G. Martins2017-02-141-8/+8
|
* blogc-make: implemented automatic reloader for runserver ruleRafael G. Martins2017-02-121-3/+107
| | | | | this is not the best implementation possible, but it works for most use cases
* make: improved clean ruleRafael G. Martins2017-01-301-4/+2
|
* make: fixed includesRafael G. Martins2017-01-031-2/+1
|
* blogc-make: fixed clean ruleRafael G. Martins2017-01-031-3/+9
|
* github-lambda: blogc-make: integrateRafael G. Martins2016-12-271-0/+7
|
* make: implemented a build tool for blogcRafael G. Martins2016-12-271-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 ;)