dashboard/Makefile
Denis Ezhov ea71e0cb66
FE-950. File upload (#123)
* init template and components

* drag-n-drop files

* dark api add

* document uploading

* schemes dark api

* removed unused code

* fix

* merge master fixes

* lint fix

* angular file to dev

* angular file downgrade

* move file item from onboarding module to app/file-item

* file item download file

* switch forward operator and some refactor

* refactor

* handle errors + refactor

* lint fix

* console log removed

* changed modules repos for dark-api and aggr-proxy

* dialog fix

* document upload service refactoring

* refactoring

* refactoring

* isLoading

* refactoring

* refactoring

* merge with master fix

* fileId fix

* some refactoring

* fixes

* removed delay

* prettier

* claim files to component

* documents restore

* switch forward remove

* boolean delay changed to progress

* claim fixes

* concat first scan fixes

* fix for empty initial ids

* remove useless operators

* refactoring

* discard concatFirstScan changes

* prettier after merge

* FE-956. Claim details docs (#124)

* Integration with other components
2019-12-13 19:00:40 +03:00

67 lines
1.4 KiB
Makefile

UTILS_PATH := build_utils
SWAGGER_SCHEMES_PATH := schemes/swag/v3 schemes/claim-management/v0 schemes/questionary/v0 schemes/questionary-aggr-proxy/v0 schemes/swag-analytics/v1 schemes/dark-api/v0 schemes/messages/v0
SUBMODULES = $(UTILS_PATH) $(SWAGGER_SCHEMES_PATH)
SUBTARGETS = $(patsubst %,%/.git,$(SUBMODULES))
UTILS_PATH := build_utils
TEMPLATES_PATH := .
# Name of the service
SERVICE_NAME := dashboard
# Service image default tag
SERVICE_IMAGE_TAG ?= $(shell git rev-parse HEAD)
# The tag for service image to be pushed with
SERVICE_IMAGE_PUSH_TAG ?= $(SERVICE_IMAGE_TAG)
REGISTRY ?= dr2.rbkmoney.com
# Base image for the service
BASE_IMAGE_NAME := service-fe
BASE_IMAGE_TAG := 2b4570bc1d9631c10aaed2132eb87eb9003f3471
BUILD_IMAGE_TAG := f3732d29a5e622aabf80542b5138b3631a726adb
GIT_SSH_COMMAND :=
DOCKER_RUN_OPTS = -e GIT_SSH_COMMAND='$(GIT_SSH_COMMAND)'
CALL_W_CONTAINER := init check lint test build clean submodules compile
.PHONY: $(CALL_W_CONTAINER)
all: build
-include $(UTILS_PATH)/make_lib/utils_image.mk
-include $(UTILS_PATH)/make_lib/utils_container.mk
$(SUBTARGETS): %/.git: %
git submodule update --init $<
touch $@
submodules: $(SUBTARGETS)
init: npm-init compile
npm-init:
NG_CLI_ANALYTICS=false npm ci
build: check lint
npm run build
clean:
rm -rf dist
check:
npm run check
lint:
npm run lint
test:
npm run test
swagger:
npm run codegen
compile: swagger