generated from layer5io/layer5-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 133
/
Copy pathMakefile
42 lines (31 loc) · 800 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
include .github/build/Makefile.show-help.mk
.PHONY: setup build format-check format-fix lint
## Install Sistent dependencies on your local machine
setup:
npm install
## Build Sistent components and packages on your local machine
build:
npm run build
## Buid Sistent in watch mode
build-watch:
npm run build:watch
## Check code formatting
format-check:
npm run format:check
## Fix formatting and run Eslint on your local machine
lint:
npm run format:write
npm run lint
## Run tests
tests:
npm run test
.PHONY: version-patch version-minor version-major
# Create a patch version of packages
version-patch:
npm run versionup:patch
# Create a minor version of packages
version-minor:
npm run versionup:minor
# Create a major version of packages
version-major:
npm run versionup:major