/** * Compiles a set of Soy files into corresponding JS source files. * * @param args Should contain command-line flags and the list of paths to the Soy files. * @throws IOException If there are problems reading the input files or writing the output file. */ public static void main(final String[] args) throws IOException { new SoyToJsSrcCompiler().runMain(args); }
/** * Compiles a set of Soy files into corresponding JS source files. * * @param args Should contain command-line flags and the list of paths to the Soy files. * @throws IOException If there are problems reading the input files or writing the output file. * @throws SoySyntaxException If a syntax error is detected. */ public static void main(String[] args) throws IOException, SoySyntaxException { (new SoyToJsSrcCompiler()).execMain(args); }
@Override void validateFlags() { if (outputPathFormat.isEmpty()) { exitWithError("Must provide the output path format."); } }
@Override void validateFlags() { if (outputPathFormat.isEmpty()) { exitWithError("Must provide the output path format."); } }
/** * Compiles a set of Soy files into corresponding JS source files. * * @param args Should contain command-line flags and the list of paths to the Soy files. * @throws IOException If there are problems reading the input files or writing the output file. */ public static void main(final String[] args) throws IOException { new SoyToJsSrcCompiler().runMain(args); }