Re-jig names and add test target in Makefile
This commit is contained in:
		
							
								
								
									
										19
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								Makefile
									
									
									
									
									
								
							| @ -1,14 +1,17 @@ | ||||
| default: install | ||||
| default: test | ||||
|  | ||||
| dev_install: | ||||
| 	ln -sf $(PWD)/abra ~/.local/bin | ||||
| dev-install: | ||||
| 	@ln -sf $(PWD)/abra ~/.local/bin | ||||
|  | ||||
| install: | ||||
| 	install abra /usr/bin/abra | ||||
| 	@curl https://install.abra.autonomic.zone | bash | ||||
|  | ||||
| get_yq: | ||||
| 	wget https://github.com/mikefarah/yq/releases/download/3.3.2/yq_linux_amd64 && \ | ||||
| test: | ||||
| 	@bats test.bats | ||||
|  | ||||
| dev-install-yq: | ||||
| 	@wget https://github.com/mikefarah/yq/releases/download/3.3.2/yq_linux_amd64 && \ | ||||
| 		chmod +x yq_linux_amd64 && \ | ||||
| 		mv yq_linux_amd64 yq | ||||
| 		mv yq_linux_amd64 ~/.local/bin/yq | ||||
|  | ||||
| .PHONY: dev_install install get_yq | ||||
| .PHONY: dev-install install test dev-install-yq | ||||
|  | ||||
		Reference in New Issue
	
	Block a user