dev: set pre-commit as the default make recipe, make debug -> make run
This commit is contained in:
parent
79be37ea47
commit
1beb3df99f
2 changed files with 5 additions and 9 deletions
8
Makefile
8
Makefile
|
@ -23,10 +23,6 @@ UPDATE_SCRIPTS := update.sh
|
|||
UPDATE_SCRIPTS += $(foreach dir, neko/update, $(wildcard $(dir)/*))
|
||||
|
||||
|
||||
.PHONY: build
|
||||
build: build-image
|
||||
|
||||
|
||||
.PHONY: pre-commit
|
||||
pre-commit: shellcheck update-lockfiles regenerate-entities neko/index.js rust-lint
|
||||
|
||||
|
@ -41,8 +37,8 @@ $(RUST_DIR)/Cargo.lock: $(CARGO_TOMLS)
|
|||
cd $(RUST_DIR) && cargo update
|
||||
|
||||
|
||||
.PHONY: debug
|
||||
debug:
|
||||
.PHONY: run
|
||||
run:
|
||||
pnpm install
|
||||
pnpm run build:debug
|
||||
pnpm run migrate
|
||||
|
|
|
@ -54,13 +54,13 @@ make
|
|||
### 実行
|
||||
|
||||
```bash
|
||||
make debug
|
||||
make run
|
||||
```
|
||||
|
||||
### コミット前に行う確認
|
||||
### lockfile や native-utils の entity の更新など(コミット前に行ってください)
|
||||
|
||||
```bash
|
||||
make pre-commit
|
||||
make
|
||||
```
|
||||
|
||||
### コミットメッセージ
|
||||
|
|
Loading…
Reference in a new issue