forked from vieter-v/vieter
				
			fix(ci): install dependencies when linting
							parent
							
								
									96a9798d3f
								
							
						
					
					
						commit
						cc9dcb3058
					
				|  | @ -26,6 +26,7 @@ gdb.txt | ||||||
| 
 | 
 | ||||||
| # Generated docs | # Generated docs | ||||||
| _docs/ | _docs/ | ||||||
|  | docs/resources/_gen/ | ||||||
| /man/ | /man/ | ||||||
| 
 | 
 | ||||||
| # VLS logs | # VLS logs | ||||||
|  |  | ||||||
|  | @ -7,10 +7,21 @@ branches: | ||||||
| platform: 'linux/amd64' | platform: 'linux/amd64' | ||||||
| 
 | 
 | ||||||
| pipeline: | pipeline: | ||||||
|  |   # vfmt seems to get confused if these aren't present | ||||||
|  |   install-modules: | ||||||
|  |     image: *vlang_image | ||||||
|  |     pull: true | ||||||
|  |     commands: | ||||||
|  |       - export VMODULES=$PWD/.vmodules | ||||||
|  |       - 'cd src && v install' | ||||||
|  |     when: | ||||||
|  |       event: [pull_request] | ||||||
|  | 
 | ||||||
|   lint: |   lint: | ||||||
|     image: *vlang_image |     image: *vlang_image | ||||||
|     pull: true |     pull: true | ||||||
|     commands: |     commands: | ||||||
|  |       - export VMODULES=$PWD/.vmodules | ||||||
|       - make lint |       - make lint | ||||||
|     when: |     when: | ||||||
|       event: [pull_request] |       event: [pull_request] | ||||||
|  |  | ||||||
							
								
								
									
										4
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										4
									
								
								Makefile
								
								
								
								
							|  | @ -92,9 +92,9 @@ clean: | ||||||
| .PHONY: autofree | .PHONY: autofree | ||||||
| autofree: afvieter | autofree: afvieter | ||||||
| afvieter: $(SOURCES) | afvieter: $(SOURCES) | ||||||
| 	$(V_PATH) -showcc -autofree -o afvieter $(SRC_DIR) | 	$(V) -showcc -autofree -o afvieter $(SRC_DIR) | ||||||
| 
 | 
 | ||||||
| .PHONY: skip-unused | .PHONY: skip-unused | ||||||
| skip-unused: suvieter | skip-unused: suvieter | ||||||
| suvieter: $(SOURCES) | suvieter: $(SOURCES) | ||||||
| 	$(V_PATH) -showcc -skip-unused -o suvieter $(SRC_DIR) | 	$(V) -skip-unused -o suvieter $(SRC_DIR) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue