mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
[build] Debug
This commit is contained in:
6
Makefile
6
Makefile
@ -78,7 +78,7 @@ CORE_FONTS_DIR = core-fonts
|
||||
CORE_FONTS_FILES = ../$(CORE_FONTS_DIR)/**
|
||||
CORE_FONTS = $(OUTPUT)/../$(CORE_FONTS_DIR)/
|
||||
|
||||
CUSTOM_PUBLIC_KEY = $(BRANDING_DIR)/licenseKey.pem
|
||||
DEBUG = $(BRANDING_DIR)/debug.js
|
||||
|
||||
.PHONY: all clean install uninstall build-date
|
||||
|
||||
@ -89,8 +89,8 @@ build-date: $(GRUNT_FILES)
|
||||
sed "s|\(const buildVersion = \).*|\1'${PRODUCT_VERSION}';|" -i $(COMMON_DEFINES_JS)
|
||||
sed "s|\(const buildNumber = \).*|\1${BUILD_NUMBER};|" -i $(COMMON_DEFINES_JS)
|
||||
sed "s|\(const buildDate = \).*|\1'$$(date +%F)';|" -i $(LICENSE_JS)
|
||||
test -e $(CUSTOM_PUBLIC_KEY) && \
|
||||
cp $(CUSTOM_PUBLIC_KEY) $(OUTPUT)/Common/sources || true
|
||||
test -e $(DEBUG) && \
|
||||
cp $(DEBUG) $(OUTPUT)/Common/sources || true
|
||||
|
||||
$(SPELLCHECKER_DICTIONARIES): $(GRUNT_FILES)
|
||||
mkdir -p $(SPELLCHECKER_DICTIONARIES) && \
|
||||
|
||||
Reference in New Issue
Block a user