Package net.sf.iwant.api.core.Concatenated

Examples of net.sf.iwant.api.core.Concatenated.ConcatenatedBuilder


  private static Source logoAsy() {
    return Source.underWsroot("gluent-docs/src/main/asy/gluent-logo.asy");
  }

  private static Target logoEpsSh() {
    ConcatenatedBuilder sh = Concatenated.named("gluent-logo.eps.sh");
    sh.string("#!/bin/bash -eux\n");
    sh.string("DEST=$1\n");
    sh.string("asy -o \"$DEST\" '");
    sh.pathTo(logoAsy());
    sh.string("'\n");
    return sh.end();
  }
View Full Code Here


  private static Target logoEps() {
    return ScriptGenerated.named("gluent-logo.eps").byScript(logoEpsSh());
  }

  private static Target scriptToUnzipJavaparserZip() {
    ConcatenatedBuilder script = Concatenated
        .named("scriptToUnzipJavaparserZip");
    script = script.string("#!/bin/bash\n");
    script = script.string("set -eu\n");
    script = script.string("DEST=$1\n");
    script = script.string("unzip -p '");
    script = script.pathTo(javaparserZip());
    script = script.string("' javaparser-1.0.5.jar > \"$DEST\"\n");

    return script.end();
  }
View Full Code Here

TOP

Related Classes of net.sf.iwant.api.core.Concatenated.ConcatenatedBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.