aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make
Commit message (Collapse)AuthorAgeFilesLines
* make: copy rule should support directories, recursivelyRafael G. Martins2017-04-303-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 blogcfileRafael G. Martins2017-04-284-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 settingsRafael G. Martins2017-04-111-5/+0
|
* make: all builds are "production" by default, enable "dev" on cli.Rafael G. Martins2017-03-115-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 runserverRafael G. Martins2017-03-091-1/+1
|
* make: fix compilation on androidRafael G. Martins2017-03-083-24/+42
|
* make: add support to "production" buildsRafael G. Martins2017-03-075-5/+19
| | | | this is used by blogc-github-lambda and blogc-git-receiver.
* make: s/env/global/Rafael G. Martins2017-03-063-18/+18
|
* make: fixed segfault when blogcfile not foundRafael G. Martins2017-03-051-0/+2
|
* make: make the reloader interface genericRafael G. Martins2017-03-043-5/+11
| | | | this way it can run any rule, even if we don't need this feature now
* make: fixed includeRafael G. Martins2017-03-041-1/+1
|
* make: splitted reloaderRafael G. Martins2017-03-045-74/+131
|
* make: removed useless "verbose" variablesRafael G. Martins2017-03-043-30/+25
|
* make: improved runserver verbose outputRafael G. Martins2017-03-031-1/+1
|
* 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-2513-13/+13
|
* 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-182-1/+8
|
* 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
|
* make: include missing headerRafael G. Martins2017-01-301-0/+1
|
* make: improved clean ruleRafael G. Martins2017-01-304-36/+61
|
* make: fixed includesRafael G. Martins2017-01-038-10/+7
|
* blogc-make: fixed clean ruleRafael G. Martins2017-01-034-8/+18
|
* make: rename settings.ini to blogcfileRafael G. Martins2017-01-011-6/+6
|
* make: added a bunch of testsRafael G. Martins2017-01-011-0/+2
|
* 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
|
* 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-272-1/+15
|
* make: implemented a build tool for blogcRafael G. Martins2016-12-2713-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 ;)