mirror of
				https://github.com/grafana/grafana.git
				synced 2025-02-25 18:55:37 -06:00 
			
		
		
		
	setup compiles the backend and caches it which is nice when developing grafana since incremental compiles are much faster. But its not required for building grafana.
		
			
				
	
	
		
			29 lines
		
	
	
		
			307 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			307 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| all: deps build
 | |
| 
 | |
| deps-go:
 | |
| 	go run build.go setup
 | |
| 
 | |
| deps-js:
 | |
| 	yarn install --pure-lockfile --no-progress
 | |
| 
 | |
| deps: deps-js
 | |
| 
 | |
| build-go:
 | |
| 	go run build.go build
 | |
| 
 | |
| build-js:
 | |
| 	npm run build
 | |
| 
 | |
| build: build-go build-js
 | |
| 
 | |
| test-go:
 | |
| 	go test -v ./pkg/...
 | |
| 
 | |
| test-js:
 | |
| 	npm test
 | |
| 
 | |
| test: test-go test-js
 | |
| 
 | |
| run:
 | |
| 	./bin/grafana-server
 |