mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-02-10 18:05:07 +08:00
refactoring
This commit is contained in:
6
Makefile
6
Makefile
@ -83,9 +83,9 @@ WELCOME = $(OUTPUT)/$(WELCOME_DIR)/
|
||||
all: $(FILE_CONVERTER) $(SPELLCHECKER_DICTIONARIES) $(TOOLS) $(SCHEMA) $(LICENSE) $(WELCOME) build-date
|
||||
|
||||
build-date: $(GRUNT_FILES)
|
||||
sed "s|const buildVersion = .*|const buildVersion = '${PRODUCT_VERSION}';|" -i $(COMMON_DEFINES_JS)
|
||||
sed "s|const buildNumber = .*|const buildNumber = ${BUILD_NUMBER};|" -i $(COMMON_DEFINES_JS)
|
||||
sed "s|const buildDate = .*|const buildDate = '$$(date +%F)';|" -i $(LICENSE_JS)
|
||||
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)
|
||||
|
||||
htmlfileinternal: $(FILE_CONVERTER)
|
||||
mkdir -p $(HTML_FILE_INTERNAL) && \
|
||||
|
||||
Reference in New Issue
Block a user