aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make/exec.h
Commit message (Collapse)AuthorAgeFilesLines
* make: added `MAKE_POST` var to `posts` and `pages` rulesRafael G. Martins2018-03-111-4/+4
| | | | | | 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: 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: add support to "production" buildsRafael G. Martins2017-03-071-1/+1
| | | | this is used by blogc-github-lambda and blogc-git-receiver.
* make: reworked binary lookups, added them to ctxRafael G. Martins2017-03-031-3/+4
|
* make: reworked ctx usage by exec functionsRafael G. Martins2017-03-031-4/+4
|
* make: improved binary lookup logic.Rafael G. Martins2017-02-271-0/+1
| | | | | | | now it is possible to run blogc-make from git checkout without installing and without setting $PATH. It will also always try to load the binary from the same dir as blogc-make, that is likely the same version
* *: updated copyrightRafael G. Martins2017-02-251-1/+1
|
* make: parse runserver arguments from cli, instead of envRafael G. Martins2017-02-241-1/+2
| | | | this is some over-optimized parser, to celebrate #cloudbleed :D
* blogc-make: use absolute path for runserver ruleRafael G. Martins2017-02-121-1/+1
|
* make: added a bunch of testsRafael G. Martins2017-01-011-0/+2
|
* make: implemented runserver ruleRafael G. Martins2016-12-271-0/+1
|
* make: implemented a build tool for blogcRafael G. Martins2016-12-271-0/+24
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 ;)