Skip to content

Commit 0b14fde

Browse files
committed
d
1 parent 1e88c0d commit 0b14fde

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

transpile.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,7 @@ find . -type d \( \
3333
f -name "*.ts" \
3434
-print \
3535
| node gitignore.js "${IGNORE_FILE}" \
36-
| /bin/bash ts.sh transpile.ts "$@" | node transpile_pipe.ts
36+
| /bin/bash ts.sh transpile.ts "$@" | node transpile_pipe.ts
37+
38+
39+
# | /bin/bash ts.sh transpile.ts "$@"

transpile.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,15 @@ if (entryPoints.length === 0) {
3434
process.exit(0);
3535
}
3636

37-
log(`
38-
${entryPoints.join("\n ")}
39-
`);
37+
const buff = [...entryPoints];
38+
buff.unshift('');
39+
const files = buff.join("\ntranspiled ");
40+
41+
console.log(`
42+
43+
${files}
44+
45+
`)
4046

4147
const options: esbuild.BuildOptions = {
4248
entryPoints,

0 commit comments

Comments
 (0)