mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-31 01:59:39 -05:00
Bumps [github.com/libregraph/lico](https://github.com/libregraph/lico) from 0.60.1-0.20230811070109-1d4140be554d to 0.61.1. - [Changelog](https://github.com/libregraph/lico/blob/master/CHANGELOG.md) - [Commits](https://github.com/libregraph/lico/commits/v0.61.1) --- updated-dependencies: - dependency-name: github.com/libregraph/lico dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
66 lines
1.2 KiB
Makefile
66 lines
1.2 KiB
Makefile
# Tools
|
|
|
|
YARN ?= yarn
|
|
|
|
# Variables
|
|
|
|
VERSION ?= $(shell git describe --tags --always --dirty --match=v* 2>/dev/null | sed 's/^v//' || \
|
|
cat $(CURDIR)/../.version 2> /dev/null || echo 0.0.0-unreleased)
|
|
|
|
# Build
|
|
|
|
.PHONY: all
|
|
all: build
|
|
|
|
.PHONY: build
|
|
build: vendor | src i18n ; $(info building identifier Webapp ...) @
|
|
@rm -rf build
|
|
|
|
VITE_KOPANO_BUILD="${VERSION}" CI=false $(YARN) run build
|
|
|
|
.PHONY: src
|
|
src:
|
|
@$(MAKE) -C src
|
|
|
|
.PHONY: i18n
|
|
i18n: vendor
|
|
@$(MAKE) -C i18n
|
|
|
|
.PHONY: lint
|
|
lint: vendor ; $(info running eslint ...) @
|
|
@$(YARN) lint . --cache && echo "eslint: no lint errors"
|
|
|
|
.PHONY: lint-checkstyle
|
|
lint-checkstyle: vendor ; $(info running eslint checkstyle ...) @
|
|
@mkdir -p ../test
|
|
$(YARN) lint -f checkstyle -o ../test/tests.eslint.xml . || true
|
|
|
|
# Yarn
|
|
|
|
.PHONY: vendor
|
|
vendor: .yarninstall
|
|
|
|
.yarninstall: package.json ; $(info getting depdencies with yarn ...) @
|
|
@$(YARN) install --immutable
|
|
@touch $@
|
|
|
|
# Stuff
|
|
|
|
.PHONY: licenses
|
|
licenses:
|
|
echo "## LibreGraph Connect identifier web app\n"
|
|
@$(YARN) run licenses
|
|
|
|
.PHONY: clean ; $(info cleaning identifier Webapp ...) @
|
|
clean:
|
|
$(YARN) cache clean
|
|
@rm -rf build
|
|
@rm -rf node_modules
|
|
@rm -f .yarninstall
|
|
|
|
@$(MAKE) -C src clean
|
|
|
|
.PHONY: version
|
|
version:
|
|
@echo $(VERSION)
|