@keymanapp/kmc
Version:
Keyman Developer compiler command line tools
17 lines (15 loc) • 989 B
JavaScript
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2bc2ae04-9070-5c84-8e9c-5255b061bd8a")}catch(e){}}();
import { BuildActivity } from './BuildActivity.js';
import { LexicalModelCompiler } from '@keymanapp/kmc-model';
export class BuildModel extends BuildActivity {
get name() { return 'Lexical model'; }
get sourceExtension() { return ".model.ts" /* KeymanFileTypes.Source.Model */; }
get compiledExtension() { return ".model.js" /* KeymanFileTypes.Binary.Model */; }
get description() { return 'Build a lexical model'; }
async build(infile, outfile, callbacks, options) {
const compiler = new LexicalModelCompiler();
return await super.runCompiler(compiler, infile, outfile, callbacks, options);
}
}
//# sourceMappingURL=BuildModel.js.map
//# debugId=2bc2ae04-9070-5c84-8e9c-5255b061bd8a