mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-04-15 07:16:34 +00:00
43 lines
559 B
JavaScript
Executable File
43 lines
559 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
const gri = require('gaze-run-interrupt');
|
|
|
|
const binList = [
|
|
// 'bin/analyze',
|
|
// 'bin/preflight',
|
|
'bin/support-bundle',
|
|
// 'bin/collect'
|
|
]
|
|
const makeList = [
|
|
// 'analyze',
|
|
// 'preflight',
|
|
'support-bundle',
|
|
// 'collect'
|
|
]
|
|
|
|
const commands = [
|
|
// {
|
|
// command: 'rm',
|
|
// args: binList,
|
|
// },
|
|
{
|
|
command: 'make',
|
|
args: makeList,
|
|
},
|
|
];
|
|
|
|
commands.push({
|
|
command: "date",
|
|
args: [],
|
|
});
|
|
|
|
commands.push({
|
|
command: "echo",
|
|
args: ["synced"],
|
|
});
|
|
|
|
gri([
|
|
'cmd/**/*.go',
|
|
'pkg/**/*.go',
|
|
], commands);
|