makefile improvements
This commit is contained in:
		
							parent
							
								
									e82fcd5d42
								
							
						
					
					
						commit
						7919e4fb7d
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		
							
								
								
									
										6
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
					@ -3,11 +3,13 @@ all: deno_lint deno app docker
 | 
				
			||||||
deno_lint:
 | 
					deno_lint:
 | 
				
			||||||
	cd cli && deno lint
 | 
						cd cli && deno lint
 | 
				
			||||||
 | 
					
 | 
				
			||||||
deno:
 | 
					deno: ./kollagen
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					./kollagen:
 | 
				
			||||||
	cd cli && deno compile --import-map ./import_map.json --allow-read --allow-write --unstable -o ../kollagen main.ts
 | 
						cd cli && deno compile --import-map ./import_map.json --allow-read --allow-write --unstable -o ../kollagen main.ts
 | 
				
			||||||
 | 
					
 | 
				
			||||||
app:
 | 
					app:
 | 
				
			||||||
	npm ci --cache .npm --prefer-offline && npm run build
 | 
						npm ci --cache .npm --prefer-offline && npm run build
 | 
				
			||||||
 | 
					
 | 
				
			||||||
docker: deno
 | 
					docker: ./kollagen
 | 
				
			||||||
	docker build -t kollagen-bot -f tgbot/Dockerfile .
 | 
						docker build -t kollagen-bot -f tgbot/Dockerfile .
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue