mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
refactor/fix integration tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
3c63f90166
commit
d2e6d739e3
55 files changed
+2187
-989
No files matched your search
@@ -5,15 +5,9 @@ CMD_ARGS = $(filter-out $@,$(MAKECMDGOALS))
|
||||
|
||||
ELECTRON_BUILDER_EXTRA_ARGS ?=
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
DETECTED_OS := Windows
|
||||
else
|
||||
DETECTED_OS := $(shell uname)
|
||||
endif
|
||||
|
||||
node_modules: yarn.lock
|
||||
yarn install --check-files --frozen-lockfile --network-timeout=100000
|
||||
yarn lerna bootstrap
|
||||
.PHONY: bootstrap
|
||||
bootstrap:
|
||||
yarn install
|
||||
|
||||
.PHONY: lint
|
||||
lint: node_modules
|
||||
@@ -29,13 +23,7 @@ integration: build
|
||||
|
||||
.PHONY: build
|
||||
build:
|
||||
yarn run build
|
||||
ifeq "$(DETECTED_OS)" "Windows"
|
||||
# https://github.com/ukoloff/win-ca#clear-pem-folder-on-publish
|
||||
rm -rf packages/core/node_modules/win-ca/pem
|
||||
endif
|
||||
yarn lerna run build:app --publish onTag $(ELECTRON_BUILDER_EXTRA_ARGS)
|
||||
|
||||
yarn lerna run build:app
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
|
||||
Reference in new issue
Block a user