mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
- Add auto-update and pre-release update user settings - Add settings in user preferences for auto-updating (default false) and for allowing pre-release versions (default false) - Use in-Lens notifications instead of OS notifications as those were found to be flaky - Add rudimentary main->renderer notification system. - Remove options, always confirm, never auto prelease - Changed "yes later" to "yes on quit" - move register IpcHandlers - use moment instead of dateformat - moved formatting notification buttons to renderer - move to RenderButtons as function component - explicitly only send notifications to main view - move delay to utils, always retry even if check failed - fix notification rendering and disabled the auto-updater for integration tests - update integration runner to output logs on failure - pin minikube version Signed-off-by: Sebastian Malton <sebastian@malton.name>
54 lines
859 B
Makefile
54 lines
859 B
Makefile
ifeq ($(OS),Windows_NT)
|
|
DETECTED_OS := Windows
|
|
else
|
|
DETECTED_OS := $(shell uname)
|
|
endif
|
|
|
|
.PHONY: init dev build test clean
|
|
|
|
init: install-deps download-bins compile-dev
|
|
echo "Init done"
|
|
|
|
download-bins:
|
|
yarn download-bins
|
|
|
|
install-deps:
|
|
yarn install --frozen-lockfile
|
|
|
|
compile-dev:
|
|
yarn compile:main --cache
|
|
yarn compile:renderer --cache
|
|
|
|
dev:
|
|
ifeq ("$(wildcard static/build/main.js)","")
|
|
make init
|
|
endif
|
|
yarn dev
|
|
|
|
lint:
|
|
yarn lint
|
|
|
|
test: download-bins
|
|
yarn test
|
|
|
|
test-app:
|
|
yarn test
|
|
|
|
build: install-deps download-bins
|
|
ifeq "$(DETECTED_OS)" "Windows"
|
|
yarn dist:win
|
|
else
|
|
yarn dist
|
|
endif
|
|
|
|
clean:
|
|
ifeq "$(DETECTED_OS)" "Windows"
|
|
if exist binaries\client del /s /q binaries\client\*.*
|
|
if exist dist del /s /q dist\*.*
|
|
if exist static\build del /s /q static\build\*.*
|
|
else
|
|
rm -rf binaries/client/*
|
|
rm -rf dist/*
|
|
rm -rf static/build/*
|
|
endif
|