Deno compile with --include
Hi, playing around with
deno compile --include
following the docs probably doing something wrong but not sure what. Help appreciated, using v2.5.3. I have the following
names.tsv
cli.ts
After compiling the file with deno compile cli.ts --include names.tsv
and running the resulting binary and get this error:
1 Reply
Found the problem, seems like command line parsing is a bit buggy here and the order does alter the result
-
deno compile cli.ts --include names.tsv
. Generates the executable without warnings or errors but silently ignores the --include names.tsv
parameter. This should work as expected or throw an error when parsing arguments.
- deno compile --include names.tsv cli.ts
. Generates the executable and actually includes the asset into the binary.