mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-12-23 08:47:50 +00:00
Some checks are pending
tinymist::auto_tag / auto-tag (push) Waiting to run
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / announce (push) Blocked by required conditions
tinymist::ci / build (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run
11 lines
232 B
TypeScript
11 lines
232 B
TypeScript
import { generate, install } from "../main";
|
|
|
|
const isCompile = process.argv.includes("--compile");
|
|
const isInstall = process.argv.includes("--install");
|
|
|
|
if (isCompile) {
|
|
await generate();
|
|
}
|
|
if (isInstall) {
|
|
await install();
|
|
}
|