Skip to content

Commit

Permalink
more work on build
Browse files Browse the repository at this point in the history
git-svn-id: http://gforge.hl7.org/svn/fhir/trunk/build@13793 2f0db536-2c49-4257-a3fa-e771ed206c19
  • Loading branch information
grahameg committed May 23, 2018
1 parent 2b462b5 commit 55525b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sh
Expand Up @@ -5,7 +5,7 @@ NAME="Continuous Integration Build"
SVNREV=$(git log -1 | grep svn.fhir. | sed -r 's/^.*?@([0-9]+).*$/\1/')

antBuild (){
./publish.sh -svn $SVNREV -name \'$NAME\' -url http://build.fhir.org/
./publish.sh -svn $SVNREV -name \'$NAME\' -url http://build.fhir.org/ -nocheck
checkStatus
}

Expand Down
Expand Up @@ -431,13 +431,16 @@ public String getRef() {

private boolean noSound;

private boolean doValidate;


public static void main(String[] args) throws Exception {
//

Publisher pub = new Publisher();
pub.page = new PageProcessor(PageProcessor.DEF_TS_SERVER);
pub.isGenerate = !(args.length > 1 && hasParam(args, "-nogen"));
pub.doValidate = !(args.length > 1 && hasParam(args, "-nocheck"));
pub.noArchive = (args.length > 1 && hasParam(args, "-noarchive"));
pub.web = (args.length > 1 && hasParam(args, "-web"));
pub.page.setForPublication(pub.web);
Expand Down Expand Up @@ -631,7 +634,8 @@ public void execute(String folder) {
checkAllOk();
}

validationProcess();
if (doValidate)
validationProcess();
processWarnings(false);
if (isGenerate && buildFlags.get("all"))
produceQA();
Expand Down

0 comments on commit 55525b9

Please sign in to comment.