From 7caa2845304c40540a336f840b3ca468bf6c8697 Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Tue, 1 Oct 2019 16:17:59 +0100 Subject: Preparation phase added before final building In many real-world scenarios, `./project make' can really benefit from having some basic information about the data before being run. For example when quering a server. If we know how many datasets were downloaded and their general properties, it can greatly optmize the process when we are designing the solution to be run in `./project make'. Therefore with this commit, a new phase has been added to the template's design: `./project prepare'. In the raw template this is empty, because the simple analysis done in the template doesn't warrant it. But everything is ready for projects using the template to add preparation phases prior to the analysis. --- reproduce/software/bash/configure.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'reproduce/software/bash') diff --git a/reproduce/software/bash/configure.sh b/reproduce/software/bash/configure.sh index 5c46496..7ef576a 100755 --- a/reproduce/software/bash/configure.sh +++ b/reproduce/software/bash/configure.sh @@ -1387,9 +1387,9 @@ echo `.local/bin/date` > $finaltarget # The configuration is now complete, we can inform the user on the next # step(s) to take. if [ x$reproducible_paper_group_name = x ]; then - buildcommand="./project make -j8" + buildcommand="./project prepare -j8" else - buildcommand="./project make --group=$reproducible_paper_group_name -j8" + buildcommand="./project prepare --group=$reproducible_paper_group_name -j8" fi cat <