Co-authored-by: Andrew Eisenberg <aeisenberg@github.com> Co-authored-by: Henry Mercer <henrymercer@github.com>
9 lines
256 B
JavaScript
Executable file
9 lines
256 B
JavaScript
Executable file
#!/usr/bin/env node
|
|
|
|
const {ProtobuftsPlugin} = require("../build/protobufts-plugin");
|
|
const pkg = require("../package.json");
|
|
|
|
new ProtobuftsPlugin(pkg.version).run().catch(_ => {
|
|
process.stderr.write('failed to run plugin');
|
|
process.exit(1);
|
|
});
|