Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Commit

Permalink
fix: fix broken translation before build
Browse files Browse the repository at this point in the history
Change-Id: I0d1873c55bdda568563c039e5cc2581136995080
  • Loading branch information
Iceyer committed Nov 19, 2018
1 parent 95bd6c8 commit f1e48d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ Build-Depends:
pkg-config,
qttools5-dev-tools,
qttools5-dev,
nodejs
nodejs,
python3-lxml
Standards-Version: 3.9.5
Homepage: https://deepin.org
Vcs-Git: https://cr.deepin.io/dstore/deepin-appstore
Expand Down
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ set(CMAKE_AUTORCC ON)

add_definitions("-DQT_MESSAGELOGCONTEXT")

if(CMAKE_BUILD_TYPE MATCHES Debug1)
if(CMAKE_BUILD_TYPE MATCHES Debug)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -Wall -Werror -Wextra")
# -fno-rtti, Disable real-time type information -fno-exceptions Disable
# exceptions -fsanitize=address Enable memory sanitize plugin
Expand Down Expand Up @@ -193,7 +193,7 @@ add_custom_target(update-qm DEPENDS ${DMAN_TRANSLATION_QM})
if(BUILD_WEB_RESOURCES)
add_custom_command(OUTPUT npm-update-web-dist
COMMAND sh -c
"PATH=./node_modules/.bin:$PATH npm run build; PATH=./node_modules/.bin:$PATH npm run build-aot; "
"python3 fix-i18n.py; PATH=./node_modules/.bin:$PATH npm run build; PATH=./node_modules/.bin:$PATH npm run build-aot; "
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/web"
VERBATIM)
else()
Expand Down

0 comments on commit f1e48d8

Please sign in to comment.