mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
project restructuring and initial refactoring
This commit is contained in:
1 parent
5af12bdbbd
commit
aa0eca2dc4
807 files changed
+11848
-22947
No files matched your search
@@ -7,44 +7,35 @@ endif
|
||||
.PHONY: dev build test clean
|
||||
|
||||
download-bins:
|
||||
yarn download:bins
|
||||
yarn download-bins
|
||||
|
||||
dev: app-deps dashboard-deps
|
||||
yarn dev
|
||||
|
||||
test: test-app test-dashboard
|
||||
|
||||
lint:
|
||||
yarn lint
|
||||
|
||||
test-app:
|
||||
yarn test
|
||||
|
||||
deps: app-deps dashboard-deps
|
||||
|
||||
app-deps:
|
||||
install-deps:
|
||||
yarn install --frozen-lockfile
|
||||
|
||||
build: build-dashboard app-deps
|
||||
yarn install
|
||||
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
|
||||
|
||||
dashboard-deps:
|
||||
cd dashboard && yarn install --frozen-lockfile
|
||||
|
||||
clean-dashboard:
|
||||
rm -rf dashboard/build/ && rm -rf static/build/client
|
||||
|
||||
test-dashboard: dashboard-deps
|
||||
cd dashboard && yarn test
|
||||
|
||||
build-dashboard: dashboard-deps clean-dashboard
|
||||
export NODE_ENV=production
|
||||
cd dashboard && yarn build
|
||||
|
||||
clean:
|
||||
rm -rf dist/*
|
||||
Reference in new issue
Block a user