mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 06:30:27 +03:00 
			
		
		
		
	gitlab-ci: compile locales using gettext and babel
This commit is contained in:
		
							parent
							
								
									288877e7ce
								
							
						
					
					
						commit
						6925083e57
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -109,6 +109,7 @@ pip_install:
 | 
			
		|||
    # setup venv to act as release build machine
 | 
			
		||||
    - python -m venv sdist-env
 | 
			
		||||
    - . sdist-env/bin/activate
 | 
			
		||||
    - ! (./setup.py compile_catalog 2>&1 | grep -F "error:")
 | 
			
		||||
    - ./setup.py compile_catalog sdist
 | 
			
		||||
    - deactivate
 | 
			
		||||
    - tar tzf dist/fdroidserver-*.tar.gz | grep locale/de/LC_MESSAGES/fdroidserver.mo
 | 
			
		||||
| 
						 | 
				
			
			@ -144,6 +145,8 @@ lint_format_safety_bandit_checks:
 | 
			
		|||
            tests/*.py
 | 
			
		||||
            tests/*.TestCase
 | 
			
		||||
        || export EXITVALUE=1
 | 
			
		||||
    - apk add --no-cache gettext make
 | 
			
		||||
    - make -C locale compile
 | 
			
		||||
    - exit $EXITVALUE
 | 
			
		||||
 | 
			
		||||
fedora_latest:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue