Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make: added 'html_order' and 'atom_order' settings | Rafael G. Martins | 2017-08-03 | 2 | -0/+22 |
| | | | | | | | 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: exec: show stderr on errors, even on non-verbose mode | Rafael G. Martins | 2017-07-23 | 1 | -2/+5 |
| | |||||
* | make: copy: truncate dest file if exists | Rafael G. Martins | 2017-05-08 | 1 | -1/+1 |
| | |||||
* | make: copy rule should support directories, recursively | Rafael G. Martins | 2017-04-30 | 3 | -4/+52 |
| | | | | | | 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 | 4 | -41/+24 |
| | | | | | now it is only possible to override output directory using environment variable. this commit also reduces the number trie lookups. | ||||
* | make: removed unused settings | Rafael G. Martins | 2017-04-11 | 1 | -5/+0 |
| | |||||
* | make: all builds are "production" by default, enable "dev" on cli. | Rafael G. Martins | 2017-03-11 | 5 | -17/+16 |
| | | | | | | 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: 130 (ctrl-c) is not an error for runserver | Rafael G. Martins | 2017-03-09 | 1 | -1/+1 |
| | |||||
* | make: fix compilation on android | Rafael G. Martins | 2017-03-08 | 3 | -24/+42 |
| | |||||
* | make: add support to "production" builds | Rafael G. Martins | 2017-03-07 | 5 | -5/+19 |
| | | | | this is used by blogc-github-lambda and blogc-git-receiver. | ||||
* | make: s/env/global/ | Rafael G. Martins | 2017-03-06 | 3 | -18/+18 |
| | |||||
* | make: fixed segfault when blogcfile not found | Rafael G. Martins | 2017-03-05 | 1 | -0/+2 |
| | |||||
* | make: make the reloader interface generic | Rafael G. Martins | 2017-03-04 | 3 | -5/+11 |
| | | | | this way it can run any rule, even if we don't need this feature now | ||||
* | make: fixed include | Rafael G. Martins | 2017-03-04 | 1 | -1/+1 |
| | |||||
* | make: splitted reloader | Rafael G. Martins | 2017-03-04 | 5 | -74/+131 |
| | |||||
* | make: removed useless "verbose" variables | Rafael G. Martins | 2017-03-04 | 3 | -30/+25 |
| | |||||
* | make: improved runserver verbose output | Rafael G. Martins | 2017-03-03 | 1 | -1/+1 |
| | |||||
* | make: reworked binary lookups, added them to ctx | Rafael G. Martins | 2017-03-03 | 5 | -29/+26 |
| | |||||
* | make: reworked ctx usage by exec functions | Rafael G. Martins | 2017-03-03 | 6 | -33/+39 |
| | |||||
* | make: implement binary lookup in a more portable way | Rafael G. Martins | 2017-03-01 | 2 | -27/+20 |
| | |||||
* | make: support freebsd properly. drop solaris | Rafael G. Martins | 2017-03-01 | 1 | -2/+21 |
| | |||||
* | make: improved binary lookup logic. | Rafael G. Martins | 2017-02-27 | 2 | -20/+44 |
| | | | | | | | 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 | ||||
* | make: improved runserver thread handling | Rafael G. Martins | 2017-02-27 | 1 | -24/+27 |
| | |||||
* | make: keep backward compatibility with [copy_files] | Rafael G. Martins | 2017-02-25 | 1 | -1/+6 |
| | |||||
* | make: renamed [environment] to [global] | Rafael G. Martins | 2017-02-25 | 1 | -8/+25 |
| | |||||
* | *: updated copyright | Rafael G. Martins | 2017-02-25 | 13 | -13/+13 |
| | |||||
* | make: parse runserver arguments from cli, instead of env | Rafael G. Martins | 2017-02-24 | 5 | -40/+93 |
| | | | | this is some over-optimized parser, to celebrate #cloudbleed :D | ||||
* | make: git-receiver: fixes to build on OS X. patch by @blackgear | Rafael G. Martins | 2017-02-18 | 2 | -1/+8 |
| | |||||
* | blogc-make: renamed copy_files settings to copy | Rafael G. Martins | 2017-02-14 | 5 | -24/+24 |
| | |||||
* | blogc-make: renamed auto-defined vars to MAKE_* | Rafael G. Martins | 2017-02-13 | 1 | -14/+14 |
| | |||||
* | blogc-make: fixed dirname calls, to work on freebsd | Rafael G. Martins | 2017-02-13 | 1 | -10/+13 |
| | |||||
* | blogc-make: use absolute path for runserver rule | Rafael G. Martins | 2017-02-12 | 3 | -4/+4 |
| | |||||
* | blogc-make: implemented automatic reloader for runserver rule | Rafael G. Martins | 2017-02-12 | 4 | -6/+180 |
| | | | | | this is not the best implementation possible, but it works for most use cases | ||||
* | make: fixed cmd quoting. read runserver settings from env | Rafael G. Martins | 2017-02-07 | 1 | -11/+41 |
| | |||||
* | make: include missing header | Rafael G. Martins | 2017-01-30 | 1 | -0/+1 |
| | |||||
* | make: improved clean rule | Rafael G. Martins | 2017-01-30 | 4 | -36/+61 |
| | |||||
* | make: fixed includes | Rafael G. Martins | 2017-01-03 | 8 | -10/+7 |
| | |||||
* | blogc-make: fixed clean rule | Rafael G. Martins | 2017-01-03 | 4 | -8/+18 |
| | |||||
* | make: rename settings.ini to blogcfile | Rafael G. Martins | 2017-01-01 | 1 | -6/+6 |
| | |||||
* | make: added a bunch of tests | Rafael G. Martins | 2017-01-01 | 1 | -0/+2 |
| | |||||
* | make: fixed return code | Rafael G. Martins | 2016-12-27 | 1 | -1/+1 |
| | |||||
* | make: fixed return code | Rafael G. Martins | 2016-12-27 | 1 | -0/+1 |
| | |||||
* | make: provide useful info if blogc-runserver not found | Rafael G. Martins | 2016-12-27 | 1 | -7/+16 |
| | |||||
* | make: implemented runserver rule | Rafael G. Martins | 2016-12-27 | 4 | -0/+57 |
| | |||||
* | make: convert "all" into an actual rule | Rafael G. Martins | 2016-12-27 | 1 | -22/+48 |
| | |||||
* | make: validate environment keys | Rafael G. Martins | 2016-12-27 | 1 | -1/+10 |
| | |||||
* | github-lambda: blogc-make: integrate | Rafael G. Martins | 2016-12-27 | 2 | -1/+15 |
| | |||||
* | make: implemented a build tool for blogc | Rafael G. Martins | 2016-12-27 | 13 | -0/+1943 |
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 ;) |