make compile as default when no target is specified

This commit is contained in:
Sebastian 2022-11-07 10:48:22 -03:00
parent baaffb9da1
commit afa87c2cf4
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1

View File

@ -9,6 +9,12 @@ git-archive-all = ./build-system/taler-build-scripts/archive-with-submodules/git
include .config.mk include .config.mk
.PHONY: compile
compile:
pnpm install -r --frozen-lockfile
pnpm run compile
.PHONY: dist .PHONY: dist
dist: dist:
$(git-archive-all) \ $(git-archive-all) \
@ -41,11 +47,6 @@ clean:
submodules-update: submodules-update:
git submodule update --recursive --remote git submodule update --recursive --remote
.PHONY: compile
compile:
pnpm install -r --frozen-lockfile
pnpm run compile
.PHONY: check .PHONY: check
check: check:
pnpm install -r --frozen-lockfile pnpm install -r --frozen-lockfile
@ -88,5 +89,5 @@ lint:
./node_modules/.bin/eslint --ext '.js,.ts,.tsx' 'src' ./node_modules/.bin/eslint --ext '.js,.ts,.tsx' 'src'
install: install: compile
@echo Please run \'make install\' from one of the directories in packages/\' @echo Please run \'make install\' from one of the directories in packages/\'