eibens / edcb

A build tool and task runner for Deno.
MIT License
0 stars 0 forks source link

Automatically invoke `dev.ts` when running `edcb` #10

Closed eibens closed 2 years ago

eibens commented 3 years ago

As explained at the bottom of the README file:

When edcb is run in a folder with a dev.ts file, it will pass the arguments to deno run -A dev.ts instead. This prevents a developer from accidentally building a project with a local [edcb] version that differs from the version defined in dev.ts. The GitHub Actions workflow file also runs dev.ts to avoid this problem.

eibens commented 2 years ago

This is becoming more important since the serve command needs the addition of the --unstable flag. Running edcb serve is much simpler than something like deno run -A --unstable dev.ts.