chore: automatic output name on build
This commit is contained in:
		
							parent
							
								
									e1f658633d
								
							
						
					
					
						commit
						4c1dd5c097
					
				| 
						 | 
					@ -5,6 +5,7 @@ _old
 | 
				
			||||||
rice-box.go
 | 
					rice-box.go
 | 
				
			||||||
.idea/
 | 
					.idea/
 | 
				
			||||||
filebrowser
 | 
					filebrowser
 | 
				
			||||||
 | 
					filebrowser.exe
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.DS_Store
 | 
					.DS_Store
 | 
				
			||||||
node_modules
 | 
					node_modules
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										4
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										4
									
								
								Makefile
								
								
								
								
							| 
						 | 
					@ -49,7 +49,7 @@ build-frontend: | ; $(info $(M) building frontend…)
 | 
				
			||||||
## build-backend: Build backend
 | 
					## build-backend: Build backend
 | 
				
			||||||
.PHONY: build-backend
 | 
					.PHONY: build-backend
 | 
				
			||||||
build-backend: | ; $(info $(M) building backend…)
 | 
					build-backend: | ; $(info $(M) building backend…)
 | 
				
			||||||
	$Q $(GO) build -ldflags '$(LDFLAGS)' -o filebrowser
 | 
						$Q $(GO) build -ldflags '$(LDFLAGS)' -o .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## test: Run all tests
 | 
					## test: Run all tests
 | 
				
			||||||
.PHONY: test
 | 
					.PHONY: test
 | 
				
			||||||
| 
						 | 
					@ -61,7 +61,7 @@ test-frontend: | ; $(info $(M) running frontend tests…)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## test-backend: Run backend tests
 | 
					## test-backend: Run backend tests
 | 
				
			||||||
.PHONY: test-backend
 | 
					.PHONY: test-backend
 | 
				
			||||||
test-backend: | $(RICE) ; $(info $(M) running backend tests…)
 | 
					test-backend: | ; $(info $(M) running backend tests…)
 | 
				
			||||||
	$Q $(GO) test -v ./...
 | 
						$Q $(GO) test -v ./...
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## lint: Lint
 | 
					## lint: Lint
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue