diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-03-11 15:58:30 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-03-11 15:58:30 +0100 |
commit | 2b485906cfa6d2e0431b0fa0120e1c267074b4e8 (patch) | |
tree | 152720e5925a6f772fc8275c32bd3976f8943a25 /src/blogc-make/ctx.c | |
parent | acf14b6fafd39e46ba343fd069bed205d7c35fb9 (diff) | |
download | blogc-2b485906cfa6d2e0431b0fa0120e1c267074b4e8.tar.gz blogc-2b485906cfa6d2e0431b0fa0120e1c267074b4e8.tar.bz2 blogc-2b485906cfa6d2e0431b0fa0120e1c267074b4e8.zip |
make: all builds are "production" by default, enable "dev" on cli.
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.
Diffstat (limited to 'src/blogc-make/ctx.c')
-rw-r--r-- | src/blogc-make/ctx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blogc-make/ctx.c b/src/blogc-make/ctx.c index 636a39a..c7d6ca9 100644 --- a/src/blogc-make/ctx.c +++ b/src/blogc-make/ctx.c @@ -148,7 +148,7 @@ bm_ctx_new(bm_ctx_t *base, const char *settings_file, const char *argv0, rv->blogc = bm_exec_find_binary(argv0, "blogc", "BLOGC"); rv->blogc_runserver = bm_exec_find_binary(argv0, "blogc-runserver", "BLOGC_RUNSERVER"); - rv->production = false; + rv->dev = false; rv->verbose = false; } else { |