From 1561c9c7a986f64c74d8064a5d7e2975b9c6928d Mon Sep 17 00:00:00 2001 From: Ivan Shumkov Date: Sun, 30 Jun 2024 19:04:13 +0700 Subject: [PATCH] feat: add dev script for dashmate to run without build with debug output --- packages/dashmate/bin/dev.cmd | 3 +++ packages/dashmate/bin/dev.js | 9 +++++++++ 2 files changed, 12 insertions(+) create mode 100644 packages/dashmate/bin/dev.cmd create mode 100755 packages/dashmate/bin/dev.js diff --git a/packages/dashmate/bin/dev.cmd b/packages/dashmate/bin/dev.cmd new file mode 100644 index 00000000000..8ae2b12c192 --- /dev/null +++ b/packages/dashmate/bin/dev.cmd @@ -0,0 +1,3 @@ +@echo off + +node "%~dp0\dev" %* diff --git a/packages/dashmate/bin/dev.js b/packages/dashmate/bin/dev.js new file mode 100755 index 00000000000..7160dc64677 --- /dev/null +++ b/packages/dashmate/bin/dev.js @@ -0,0 +1,9 @@ +#!/usr/bin/env node + +import { execute } from '@oclif/core'; + +async function run() { + await execute({ dir: import.meta.url, development: true }); +} + +await run();