aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make/exec.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2017-03-11 15:58:30 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2017-03-11 15:58:30 +0100
commit2b485906cfa6d2e0431b0fa0120e1c267074b4e8 (patch)
tree152720e5925a6f772fc8275c32bd3976f8943a25 /src/blogc-make/exec.h
parentacf14b6fafd39e46ba343fd069bed205d7c35fb9 (diff)
downloadblogc-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/exec.h')
-rw-r--r--src/blogc-make/exec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blogc-make/exec.h b/src/blogc-make/exec.h
index fadaafe..715c903 100644
--- a/src/blogc-make/exec.h
+++ b/src/blogc-make/exec.h
@@ -20,7 +20,7 @@ int bm_exec_command(const char *cmd, const char *input, char **output,
char **error, bc_error_t **err);
char* bm_exec_build_blogc_cmd(const char *blogc_bin, bm_settings_t *settings,
bc_trie_t *variables, bool listing, const char *template,
- const char *output, bool production, bool sources_stdin);
+ const char *output, bool dev, bool sources_stdin);
int bm_exec_blogc(bm_ctx_t *ctx, bc_trie_t *variables, bool listing,
bm_filectx_t *template, bm_filectx_t *output, bc_slist_t *sources,
bool only_first_source);