mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 06:30:27 +03:00 
			
		
		
		
	gitlab-ci: move shellcheck to own job fenced by changes:
This commit is contained in:
		
							parent
							
								
									aa9cc14991
								
							
						
					
					
						commit
						3b9d39ac61
					
				
					 3 changed files with 27 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -2,7 +2,7 @@
 | 
			
		|||
#
 | 
			
		||||
# Install all the client hooks
 | 
			
		||||
 | 
			
		||||
BASE_DIR="$(cd $(dirname $0); pwd -P)"
 | 
			
		||||
BASE_DIR="$(cd $(dirname $0) || exit; pwd -P)"
 | 
			
		||||
HOOK_NAMES="applypatch-msg pre-applypatch post-applypatch pre-commit prepare-commit-msg commit-msg post-commit pre-rebase post-checkout post-merge pre-receive update post-receive post-update pre-auto-gc"
 | 
			
		||||
HOOK_DIR="$(git rev-parse --show-toplevel)/.git/hooks"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -36,7 +36,7 @@ else
 | 
			
		|||
            *.rb)
 | 
			
		||||
                RB_FILES+=" $f"
 | 
			
		||||
                ;;
 | 
			
		||||
            *.yml|.*.yml|.yamllint)
 | 
			
		||||
            *.yml|*.yaml|.yamllint)
 | 
			
		||||
                YML_FILES+=" $f"
 | 
			
		||||
                ;;
 | 
			
		||||
            *)
 | 
			
		||||
| 
						 | 
				
			
			@ -66,7 +66,7 @@ cmd_exists() {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
find_command() {
 | 
			
		||||
	for name in $@; do
 | 
			
		||||
	for name in "$@"; do
 | 
			
		||||
		for suff in "3" "-3" "-python3" ""; do
 | 
			
		||||
			cmd=${name}${suff}
 | 
			
		||||
			if cmd_exists $cmd; then
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue