aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make
Commit message (Collapse)AuthorAgeFilesLines
* make: prevent dereferencing segfaults. minor style fixesRafael G. Martins2018-07-264-53/+79
|
* make: implemented atom_legacy_entry_id settingRafael G. Martins2018-07-252-1/+12
| | | | This allows current users to avoid atom entry id changes.
* make: fixed filename generation for rules and atom feedRafael G. Martins2018-07-251-11/+28
|
* make: added utilitary function to generate filenamesRafael G. Martins2018-07-253-24/+95
|
* make: handle empty prefixes properlyRafael G. Martins2018-07-244-18/+26
| | | | still needs to add integration tests
* make: disable post listings if {atom_,}posts_per_page is 0Rafael G. Martins2018-06-101-1/+28
|
* Revert "make: disable pagination rules if <= 0 posts per page"Rafael G. Martins2018-06-101-27/+3
| | | | | | This reverts commit cab17026f64ba78bfd9dcac6327607af8e396ebd. Poorly implemented :/
* make: disable pagination rules if <= 0 posts per pageRafael G. Martins2018-06-091-3/+27
|
* make: fixed typo. `tags` rule was using `atom_posts_per_page`Rafael G. Martins2018-06-091-1/+1
|
* make: run the build rule before starting httpd for runserver ruleRafael G. Martins2018-05-141-0/+15
|
* make: improve blogc output formattingRafael G. Martins2018-05-141-31/+28
|
* Revert "make: trying to fix osx build due to lack of SIGRTMAX"Rafael G. Martins2018-05-131-8/+0
| | | | This reverts commit 321459e9584e4f9b6c725f1e19effef693e3c561.
* make: simplified signal logicRafael G. Martins2018-05-132-11/+14
|
* make: trying to fix osx build due to lack of SIGRTMAXRafael G. Martins2018-05-131-0/+8
|
* make: added 'watch' rule. improved 'runserver' rule.Rafael G. Martins2018-05-135-71/+186
|
* make: git-receiver: fixed conversion from wait status to status codeRafael G. Martins2018-05-131-2/+3
|
* Revert "build: introduced an unused variable to test clang-analyzer"Rafael G. Martins2018-05-071-3/+0
| | | | This reverts commit e07e1d66e892764582fbe091fa1cd4cc13619e2f.
* build: introduced an unused variable to test clang-analyzerRafael G. Martins2018-05-071-0/+3
|
* Revert "build: introduced a minor memory leak to test clang-analyzer"Rafael G. Martins2018-05-071-2/+2
| | | | This reverts commit 42259e6b0036935e00fca6b780f8d8b616d132c7.
* build: introduced a minor memory leak to test clang-analyzerRafael G. Martins2018-05-071-2/+2
|
* make: fixed pagination, added testsRafael G. Martins2018-03-201-2/+2
|
* make: allow to disable pagination by setting posts_per_page<0Rafael G. Martins2018-03-201-15/+23
|
* make: exec: always print stderr, if availableRafael G. Martins2018-03-201-7/+4
| | | | ... otherwise blogc warnings are hidden
* blogc: common: replace unsigned int with size_tRafael G. Martins2018-03-201-1/+1
|
* make: avoid infinite-loop if posts_per_page <= 0Rafael G. Martins2018-03-201-0/+3
|
* Revert "Revert "make: fixed context reloading""Rafael G. Martins2018-03-143-12/+12
| | | | This reverts commit 6dc12e00c852b143429b3db0c01cb9abcf102b8f.
* Revert "make: fixed context reloading"Rafael G. Martins2018-03-133-12/+12
| | | | | | This reverts commit 89e2a39d1ee66a233b1cd21606ba66b32b902b08. This commit was reverted only to test the clang-analyzer travis job.
* make: added missing includeRafael G. Martins2018-03-131-0/+1
|
* make: fixed context reloadingRafael G. Martins2018-03-133-12/+12
| | | | this bug was reported by clang-analyzer.
* make: rename TAG_CLOUD to MAKE_TAGSRafael G. Martins2018-03-121-1/+1
| | | | | all the template helper variables provided by blogc-make should start with MAKE_
* make: added `MAKE_POST` var to `posts` and `pages` rulesRafael G. Martins2018-03-115-34/+49
| | | | | | 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: typoRafael G. Martins2018-03-111-1/+1
|
* make: pass TAG_CLOUD variable to blogc.Rafael G. Martins2018-03-101-0/+6
| | | | | this variable includes all the tags configured in blogcfile(5) as a space-separated string.
* Revert "blogc: make: mkdir may raise ENOENT"Rafael G. Martins2018-02-251-1/+1
| | | | | | This reverts commit 0bc74a99b362a7ef58655bf3d4b29d5699c38c90. That change made no sense :x
* blogc: make: mkdir may raise ENOENTRafael G. Martins2018-02-241-1/+1
|
* make: do not run stat twice for regular files when copyingRafael G. Martins2018-02-243-26/+31
|
* make: reloader: do not kill the process on reload failureRafael G. Martins2018-01-271-6/+8
|
* make: disable bm_find_binary tests when running embeddedRafael G. Martins2018-01-071-2/+2
|
* make: use embedded blogc, if possibleRafael G. Martins2018-01-071-0/+13
|
* make: improved runserver docsRafael G. Martins2017-11-192-2/+4
|
* make: renamed bm_exec_empty_dir()Rafael G. Martins2017-09-143-4/+4
|
* make: added 'html_order' and 'atom_order' settingsRafael G. Martins2017-08-032-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 startRafael G. Martins2017-07-231-0/+3
|
* make: exec: show stderr on errors, even on non-verbose modeRafael G. Martins2017-07-231-2/+5
|
* make: copy: truncate dest file if existsRafael G. Martins2017-05-081-1/+1
|
* 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
|