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> +#+ +:+ +#+ #
|
# By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ #
|
||||||
# +#+#+#+#+#+ +#+ #
|
# +#+#+#+#+#+ +#+ #
|
||||||
# Created: 2023/11/12 11:05:05 by rparodi #+# #+# #
|
# 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 .)
|
BASE_PATH=$(shell realpath .)
|
||||||
ECHO = /usr/bin/env echo
|
ECHO = /usr/bin/env echo
|
||||||
|
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@$(MAKE) --no-print-directory header
|
@$(MAKE) --no-print-directory header
|
||||||
@$(MAKE) --no-print-directory -f ./Docker.mk
|
@$(MAKE) --no-print-directory -f ./Docker.mk
|
||||||
|
|
@ -111,19 +112,16 @@ npm:
|
||||||
@$(ECHO) " npm@eslint: run eslint"
|
@$(ECHO) " npm@eslint: run eslint"
|
||||||
|
|
||||||
npm@eslint:
|
npm@eslint:
|
||||||
npm --prefix=./src/ run eslint
|
(cd ./src/ && npx pnpm run eslint)
|
||||||
|
|
||||||
npm@install:
|
npm@install:
|
||||||
npm --prefix=./src/ run install-all
|
(cd ./src/ && npx pnpm install)
|
||||||
|
|
||||||
npm@clean:
|
|
||||||
npm --prefix=./src/ run clean
|
|
||||||
|
|
||||||
npm@fclean: npm@clean
|
|
||||||
npm --prefix=./src/ run fclean
|
|
||||||
|
|
||||||
npm@build:
|
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 :)
|
# this convert the .dbml file to an actual sql file that SQLite can handle :)
|
||||||
sql:
|
sql:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue