aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* make: reworked binary lookups, added them to ctxRafael G. Martins2017-03-035-29/+26
|
* make: reworked ctx usage by exec functionsRafael G. Martins2017-03-036-33/+39
|
* make: implement binary lookup in a more portable wayRafael G. Martins2017-03-012-27/+20
|
* make: support freebsd properly. drop solarisRafael G. Martins2017-03-011-2/+21
|
* make: improved binary lookup logic.Rafael G. Martins2017-02-272-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 handlingRafael G. Martins2017-02-271-24/+27
|
* make: keep backward compatibility with [copy_files]Rafael G. Martins2017-02-251-1/+6
|
* make: renamed [environment] to [global]Rafael G. Martins2017-02-251-8/+25
|
* *: updated copyrightRafael G. Martins2017-02-2559-59/+59
|
* make: parse runserver arguments from cli, instead of envRafael G. Martins2017-02-245-40/+93
| | | | this is some over-optimized parser, to celebrate #cloudbleed :D
* make: git-receiver: fixes to build on OS X. patch by @blackgearRafael G. Martins2017-02-183-5/+17
|
* content-parser: source-parser: rename TITLE to FIRST_HEADERRafael G. Martins2017-02-153-13/+13
|
* content-parser: html-encode pre-defined title. updated man pagesRafael G. Martins2017-02-151-1/+1
|
* content-parser: source-parser: extract TITLE from content headerRafael G. Martins2017-02-143-5/+21
| | | | | | | | | | | this patch implements support to using the first header found in source file as the TITLE variable. please note that if the TITLE variable is defined on the source file's variable section it takes precedence. this patch changes the old behaviour and can break some users' websites. if you have some '{% ifdef TITLE %}' blocks in your template, they will evaluate to true if you don't defined TITLE manually, but have a header in your content.
* blogc-make: renamed copy_files settings to copyRafael G. Martins2017-02-145-24/+24
|
* blogc-make: renamed auto-defined vars to MAKE_*Rafael G. Martins2017-02-131-14/+14
|
* blogc-make: fixed dirname calls, to work on freebsdRafael G. Martins2017-02-131-10/+13
|
* blogc-make: use absolute path for runserver ruleRafael G. Martins2017-02-123-4/+4
|
* blogc-make: implemented automatic reloader for runserver ruleRafael G. Martins2017-02-124-6/+180
| | | | | this is not the best implementation possible, but it works for most use cases
* make: fixed cmd quoting. read runserver settings from envRafael G. Martins2017-02-071-11/+41
|
* github-lambda: handle multiple recordsRafael G. Martins2017-02-071-2/+10
|
* make-embedded: removed symlink support from blogc binaryRafael G. Martins2017-01-301-8/+3
| | | | | embedded binary is supposed to be used on lambda, not to replace blogc-make binary on common setups
* make: include missing headerRafael G. Martins2017-01-301-0/+1
|
* make: improved clean ruleRafael G. Martins2017-01-304-36/+61
|
* git-receiver: support blogc-makeRafael G. Martins2017-01-041-29/+40
|
* git-receiver: detect if pre-receive is running from git using env varRafael G. Martins2017-01-041-1/+1
|
* make: fixed includesRafael G. Martins2017-01-038-10/+7
|
* blogc-make: fixed clean ruleRafael G. Martins2017-01-034-8/+18
|
* github-lambda: always upload files with real file namesRafael G. Martins2017-01-031-14/+27
| | | | | | | even if we are translating some file names, for example to use a .xml file as directory index, we still need to upload the file to the real filename, to avoid automatically generated atom feeds produced by blogc-make pointing to wrong urls.
* make: rename settings.ini to blogcfileRafael G. Martins2017-01-012-9/+9
|
* make: added a bunch of testsRafael G. Martins2017-01-011-0/+2
|
* config-parser: only allow double-quoted valuesRafael G. Martins2017-01-011-35/+0
|
* config-parser: allow quoted valuesRafael G. Martins2017-01-011-14/+138
|
* make: fixed return codeRafael G. Martins2016-12-271-1/+1
|
* make: fixed return codeRafael G. Martins2016-12-271-0/+1
|
* make: provide useful info if blogc-runserver not foundRafael G. Martins2016-12-271-7/+16
|
* make: implemented runserver ruleRafael G. Martins2016-12-274-0/+57
|
* runserver: exit cleanly on ^CRafael G. Martins2016-12-271-0/+7
|
* runserver: fixed bug when calling with -mRafael G. Martins2016-12-271-1/+1
|
* make: convert "all" into an actual ruleRafael G. Martins2016-12-271-22/+48
|
* make: validate environment keysRafael G. Martins2016-12-271-1/+10
|
* github-lambda: blogc-make: integrateRafael G. Martins2016-12-273-8/+36
|
* github-lambda: drop external dependenciesRafael G. Martins2016-12-271-15/+3
|
* make: implemented a build tool for blogcRafael G. Martins2016-12-2716-4/+1997
| | | | | | | | | | | | | | | | | 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 ;)
* *: binaries should always return 3 on errors, for consistency.Rafael G. Martins2016-12-267-55/+55
| | | | | | We used to return 1 or 2 in case of errors, with no special meaning, other than "something is wrong", but these codes are reserved. Now we always return 3.
* config-parser: bc_config_get_list should return array instead of listRafael G. Martins2016-12-252-5/+12
|
* config-parser: added support to parse section as list of linesRafael G. Martins2016-12-253-12/+107
|
* blogc: common: git-receiver: improved error handlingRafael G. Martins2016-12-232-17/+18
|
* git-receiver: moved shell quote function to commonRafael G. Martins2016-12-215-27/+30
|
* config-parser: improved error reporting, added bc_config_get_with_defaultRafael G. Martins2016-12-202-6/+19
|