File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import assert from "node:assert";
44import { es2022Lib } from "@cubing/dev-config/esbuild/es2022" ;
55import { build } from "esbuild" ;
66import { Path } from "path-class" ;
7+ import { PrintableShellCommand } from "printable-shell-command" ;
78
89const distDir = Path . resolve ( "../dist/wasm/" , import . meta. url ) ;
910
@@ -69,9 +70,13 @@ assert(wasmSize > 32 * KiB); // Make sure the file exists and has some contents.
6970 */
7071assert ( secondsToDownloadUsing3G ( wasmSize ) < 7 ) ;
7172
72- // TODO: bump `@lgarron-bin/repo` with a fix (`latest(tags()::@-)'` instead of `latest(tags())::@-`).
73- // const version = await $`bun x -- @lgarron-bin/repo version describe`.text();
74- const version = "v0.9.99" ;
73+ const version = await new PrintableShellCommand ( "bun" , [
74+ "x" ,
75+ "--" ,
76+ "@lgarron-bin/repo" ,
77+ "version" ,
78+ "describe" ,
79+ ] ) . text ( ) ;
7580
7681await build ( {
7782 ...es2022Lib ( ) ,
You can’t perform that action at this time.
0 commit comments