mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
42 lines
529 B
Makefile
42 lines
529 B
Makefile
ifeq ($(OS),Windows_NT)
|
|
DETECTED_OS := Windows
|
|
else
|
|
DETECTED_OS := $(shell uname)
|
|
endif
|
|
|
|
.PHONY: dev build test clean
|
|
|
|
download-bins:
|
|
yarn download-bins
|
|
|
|
install-deps:
|
|
yarn install --frozen-lockfile
|
|
|
|
dev: install-deps
|
|
yarn dev
|
|
|
|
test:
|
|
yarn test
|
|
|
|
integration-linux:
|
|
yarn build:linux
|
|
yarn integration
|
|
|
|
integration-mac:
|
|
yarn build:mac
|
|
yarn integration
|
|
|
|
integration-win:
|
|
yarn build:win
|
|
yarn integration
|
|
|
|
build: install-deps
|
|
ifeq "$(DETECTED_OS)" "Windows"
|
|
yarn dist:win
|
|
else
|
|
yarn dist
|
|
endif
|
|
|
|
clean:
|
|
rm -rf dist/*
|