소스 검색

Add translation build

Joachim M. Giæver 10 달 전
부모
커밋
8bfe626268
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      snap/snapcraft.yaml

+ 4 - 0
snap/snapcraft.yaml

@@ -242,6 +242,10 @@ parts:
     constraints:
       - homeassistant/package_constraints.txt
     override-build: |
+      CWD="$(pwd)"
+      cd "${SNAPCRAFT_PART_BUILD}"
+      python3 -m script.translations develop --all
+      cd "${CWD}"
       snapcraftctl build
       
     override-stage: |