chore(Makefile): reworked npm@ rules to use pnpm
This commit is contained in:
parent
a66fad3360
commit
fc2cfdb7cf
1 changed files with 8 additions and 10 deletions
18
Makefile
18
Makefile
|
|
@ -6,7 +6,7 @@
|
|||
# By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2023/11/12 11:05:05 by rparodi #+# #+# #
|
||||
# Updated: 2025/10/06 16:55:58 by maiboyer ### ########.fr #
|
||||
# Updated: 2025/10/29 19:37:40 by maiboyer ### ########.fr #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
|
|
@ -28,6 +28,7 @@ PROJECT = ft_transcendence
|
|||
BASE_PATH=$(shell realpath .)
|
||||
ECHO = /usr/bin/env echo
|
||||
|
||||
|
||||
all:
|
||||
@$(MAKE) --no-print-directory header
|
||||
@$(MAKE) --no-print-directory -f ./Docker.mk
|
||||
|
|
@ -111,19 +112,16 @@ npm:
|
|||
@$(ECHO) " npm@eslint: run eslint"
|
||||
|
||||
npm@eslint:
|
||||
npm --prefix=./src/ run eslint
|
||||
(cd ./src/ && npx pnpm run eslint)
|
||||
|
||||
npm@install:
|
||||
npm --prefix=./src/ run install-all
|
||||
|
||||
npm@clean:
|
||||
npm --prefix=./src/ run clean
|
||||
|
||||
npm@fclean: npm@clean
|
||||
npm --prefix=./src/ run fclean
|
||||
(cd ./src/ && npx pnpm install)
|
||||
|
||||
npm@build:
|
||||
npm --prefix=./src/ run build
|
||||
(cd ./src/ && npx pnpm run build)
|
||||
|
||||
npm@update:
|
||||
(cd ./src/ && rm -rf ./src/node_modules/ && npx pnpm update -r --workspace)
|
||||
|
||||
# this convert the .dbml file to an actual sql file that SQLite can handle :)
|
||||
sql:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue