mirror of https://github.com/portainer/portainer
				
				
				
			refactor(build-system): fix lint issues
							parent
							
								
									576f369152
								
							
						
					
					
						commit
						cea2c60b55
					
				| 
						 | 
				
			
			@ -285,11 +285,10 @@ function shell_buildBinary(p, a) {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
function shell_buildBinaryOnDevOps(p, a) {
 | 
			
		||||
  var binfile = 'portainer-' + p + '-' + a;
 | 
			
		||||
  if (p === 'linux') {
 | 
			
		||||
    return 'build/build_binary_devops.sh ' + p + ' ' + a + ';'
 | 
			
		||||
    return 'build/build_binary_devops.sh ' + p + ' ' + a + ';';
 | 
			
		||||
  } else {
 | 
			
		||||
    return 'powershell -Command ".\\build\\build_binary_devops.ps1 -platform ' + p + ' -arch ' + a + '"'
 | 
			
		||||
    return 'powershell -Command ".\\build\\build_binary_devops.ps1 -platform ' + p + ' -arch ' + a + '"';
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -330,4 +329,4 @@ gruntfile_cfg.shell = {
 | 
			
		|||
  buildBinaryOnDevOps: { command: shell_buildBinaryOnDevOps },
 | 
			
		||||
  run: { command: shell_run },
 | 
			
		||||
  downloadDockerBinary: { command: shell_downloadDockerBinary }
 | 
			
		||||
};
 | 
			
		||||
};
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue