djblets.pipeline.compilers.es6.ES6Compiler¶
-
class
ES6Compiler(verbose, storage)[source]¶ Bases:
pipeline.compilers.es6.ES6CompilerAn ES6 Compiler which compiles .es6.js to .js.
To use this, add the path to this class to
settings.PIPELINE['COMPILERS'].Methods
__init__(verbose, storage)x.__init__(…) initializes x; see help(type(x)) for signature compile_file(infile, outfile[, outdated, force])execute_command(command[, cwd, stdout_captured])Execute a command at cwd, saving its normal output at stdout_captured. is_outdated(infile, outfile)match_file(path)Return whether the given path should use this compiler. output_path(path, extension)Return the path of the output file for this compiler. read_file(path)save_file(path, content)Attributes
input_extensionoutput_extension