blogc-make - a simple build tool for blogc
-f FILE] [RULE ...]
blogc-make is a simple build tool for blogc websites. It reads a blogcfile(5) and generates the output files using blogc(1) and some predefined rules, that are useful enough for most common use cases.
See blogcfile(5) for details on the file format.
Builds for development environment. This option is useful to load local,
non-optimized assets for development purposes. It adds two global
variables to all blogc(1) calls:
Activates verbose mode, that will give more details of commands runs.
Reads FILE as
Show program name, version and exit.
Show help message and exit.
Run all build rules. This is the default rule.
Clean built files and empty directories in output directory.
blogc-runserver(1) pointing to output directory, if available. This
rule accepts some arguments, in the following format:
The values in the example are the default values.
Build website index from posts.
Build main atom feed from posts.
Build atom feeds for each tag from posts.
Build pagination pages from posts.
Build individual pages for each post.
Build post listings for each tag from posts.
Build individual pages for each page.
Copy static files from source directory to output directory.
blogc-make command expects a settings file, called
blogcfile by default,
or any other file passed to
blogcfile must have valid UTF-8 content.
blogc-make command will read any files listed on
blogcfile, and may write
files to the configured output directory.
blogc(1) binary. If not provided, the
blogc binary in
blogc-runserver(1) binary. If not provided, the
$PATH will be used, if available.
Path to the directory where
blogc-make should write (or instruct blogc(1) to
write) output files.
Build all files:
$ blogc-make all
Clean built files:
$ blogc-make clean
Please report any issues to: https://github.com/blogc/blogc
Rafael G. Martins <email@example.com>