From 2b485906cfa6d2e0431b0fa0120e1c267074b4e8 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sat, 11 Mar 2017 15:58:30 +0100 Subject: 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. --- src/blogc-make/ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/blogc-make/ctx.c') 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 { -- cgit v1.2.3-18-g5258