Skip to content

Commit 63264ef

Browse files
committed
build: update Makefile
1 parent 3536244 commit 63264ef

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Makefile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ PUBLISHER_NAME = MichaelCurrin
33

44
default: install
55

6-
all: hooks install test
6+
all: hooks install test build
77

88
h help:
99
@grep '^[a-z]' Makefile
@@ -37,14 +37,19 @@ q test-quick:
3737
npx tsc -p .
3838
npm run test:unit
3939

40+
### Build
4041

41-
### Deploy
42+
.PHONY: build
43+
build:
44+
npm run build
4245

4346
# Build and install the extension globally.
4447
e ext:
4548
npm run lint:check
4649
npm run ext
4750

51+
### Deploy
52+
4853
# Run checks, tag and push (to GitHub only) then install the tagged version as clean-up.
4954
tag:
5055
npm version minor

docs/development/commands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Run major tasks to check the project for issues.
2222
$ make all
2323
```
2424

25-
This will up hooks, install packages, fix, and unit test tasks.
25+
This will update hooks, install packages, run all checks, and attempt to build the app.
2626

2727
This is useful for bootstrapping the project on a fresh clone, or before pushing commits. This task also runs as part of the `pre-push` hook after that has been set up.
2828

0 commit comments

Comments
 (0)