Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Development

## Prerequisites

- Deno installed on your machine
- Deno plugin installed, formatter enabled on save

## Setup

None

## Usage

This is how you can use the CLI during development.

```bash
deno run -A ./src/index.ts
```

Example commands:

- `deno run -A ./src/index.ts build ./test-project`
- `deno run -A ./src/index.ts config open`

## Tasks

Common commands:

- `deno task lint` to check formatting
- `deno task test` to run tests
- `deno task coverage` to run tests with coverage

See `deno.json` for the full list of tasks.
1 change: 0 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"lint": "echo 'Not implemented yet.'",
"test": "deno test -A ./src/integrity.test.ts",
"coverage": "rm -rf .coverage ; deno test -A ./src/integrity.test.ts --coverage=.coverage/raw ; deno coverage .coverage/raw --lcov --output=.coverage/raw/.lcov ; perl .tools/lcov/genhtml.perl -q -o .coverage/report .coverage/raw/.lcov && deno run -A .tools/open-coverage-report.ts",
"config": "deno run -A .tools/open-config-folder.ts"
},
"compilerOptions": {
"allowJs": true,
Expand Down