-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fd1430e
commit 66c9715
Showing
4 changed files
with
20 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,19 @@ | ||
#!/usr/bin/env node | ||
|
||
import "./Index.js"; | ||
import { Command } from "commander"; | ||
import Build from "./Command/Build.ts"; | ||
import _JSON from "./Library/JSON.ts"; | ||
|
||
try { | ||
new Command() | ||
.name("TypeScriptESBuild") | ||
.version((await _JSON("../package.json", import.meta.url))?.version) | ||
.description("Builds files") | ||
.argument("<Files...>", "Files to build") | ||
.option("-es, --ESBuild <File>", "esbuild configuration file") | ||
.option("-ts, --TypeScript <File>", "TypeScript configuration file") | ||
.action(Build) | ||
.parse(); | ||
} catch (_Error) { | ||
console.log(_Error); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export { default as Build } from "./Command/Build.ts"; | ||
export { default as ESBuild } from "./Configuration/ESBuild.ts"; | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters