mirror of
				https://gitea.invidious.io/iv-org/shard-ameba.git
				synced 2024-08-15 00:53:29 +00:00 
			
		
		
		
	Merge pull request #391 from straight-shoota/feat/portability
Make postinstall portable
This commit is contained in:
		
						commit
						8c9d234d0b
					
				
					 2 changed files with 2 additions and 5 deletions
				
			
		
							
								
								
									
										4
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								Makefile
									
										
									
									
									
								
							|  | @ -30,9 +30,5 @@ bin: build | ||||||
| 	mkdir -p $(SHARD_BIN) | 	mkdir -p $(SHARD_BIN) | ||||||
| 	cp ./bin/ameba $(SHARD_BIN) | 	cp ./bin/ameba $(SHARD_BIN) | ||||||
| 
 | 
 | ||||||
| .PHONY: run_file |  | ||||||
| run_file: |  | ||||||
| 	cp -n ./bin/ameba.cr $(SHARD_BIN) || true |  | ||||||
| 
 |  | ||||||
| .PHONY: test | .PHONY: test | ||||||
| test: spec lint | test: spec lint | ||||||
|  |  | ||||||
|  | @ -10,10 +10,11 @@ targets: | ||||||
| 
 | 
 | ||||||
| scripts: | scripts: | ||||||
|   # TODO: remove pre-compiled executable in future releases |   # TODO: remove pre-compiled executable in future releases | ||||||
|   postinstall: make bin && make run_file |   postinstall: shards build -Dpreview_mt | ||||||
| 
 | 
 | ||||||
| executables: | executables: | ||||||
|   - ameba |   - ameba | ||||||
|  |   - ameba.cr | ||||||
| 
 | 
 | ||||||
| crystal: "~> 1.7.0" | crystal: "~> 1.7.0" | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue