Ver Fonte

Add translation build

Joachim M. Giæver há 10 meses atrás
pai
commit
8bfe626268
1 ficheiros alterados com 4 adições e 0 exclusões
  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: |