aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make/ctx.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert "make: support posts autoloading"Rafael G. Martins2019-05-011-3/+0
| | | | | | | | It works mostly fine, but if you build a website, delete some files and try to rebuild, it won't be able to detect the removed files. This may be reverted when I find a solution for this problem. This reverts commit 792ac4ec66dd098109a88065420ef95c1a78624f.
* make: support posts autoloadingRafael G. Martins2019-04-281-0/+3
|
* make: added support for `blogc -e`Rafael G. Martins2019-04-031-0/+1
| | | | must still add tests
* *: update copyrightRafael G. Martins2019-01-151-1/+1
|
* *: update copyrightRafael G. Martins2018-10-141-1/+1
|
* make: allow custom atom templatesRafael G. Martins2018-07-261-0/+1
|
* make: prevent dereferencing segfaults. minor style fixesRafael G. Martins2018-07-261-0/+2
|
* Revert "Revert "make: fixed context reloading""Rafael G. Martins2018-03-141-1/+1
| | | | This reverts commit 6dc12e00c852b143429b3db0c01cb9abcf102b8f.
* Revert "make: fixed context reloading"Rafael G. Martins2018-03-131-1/+1
| | | | | | This reverts commit 89e2a39d1ee66a233b1cd21606ba66b32b902b08. This commit was reverted only to test the clang-analyzer travis job.
* make: fixed context reloadingRafael G. Martins2018-03-131-1/+1
| | | | this bug was reported by clang-analyzer.
* make: added `MAKE_POST` var to `posts` and `pages` rulesRafael G. Martins2018-03-111-1/+3
| | | | | | 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 copyingRafael G. Martins2018-02-241-1/+2
|
* make: copy rule should support directories, recursivelyRafael G. Martins2017-04-301-0/+1
| | | | | | 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-0/+1
| | | | | 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-4/+17
|
* make: add support to "production" buildsRafael G. Martins2017-03-071-0/+2
| | | | this is used by blogc-github-lambda and blogc-git-receiver.
* make: splitted reloaderRafael G. Martins2017-03-041-1/+1
|
* make: reworked binary lookups, added them to ctxRafael G. Martins2017-03-031-1/+4
|
* make: reworked ctx usage by exec functionsRafael G. Martins2017-03-031-0/+2
|
* *: updated copyrightRafael G. Martins2017-02-251-1/+1
|
* make: git-receiver: fixes to build on OS X. patch by @blackgearRafael G. Martins2017-02-181-0/+6
|
* blogc-make: renamed copy_files settings to copyRafael G. Martins2017-02-141-1/+1
|
* blogc-make: implemented automatic reloader for runserver ruleRafael G. Martins2017-02-121-1/+5
| | | | | this is not the best implementation possible, but it works for most use cases
* make: fixed includesRafael G. Martins2017-01-031-0/+2
|
* make: implemented a build tool for blogcRafael G. Martins2016-12-271-0/+43
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 ;)