Explorar el Código

Add translation build

Joachim M. Giæver hace 10 meses
padre
commit
8bfe626268
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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: |