mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-10-31 18:59:23 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			263 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			263 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| set -euo pipefail
 | |
| 
 | |
| # Note: this assumes that datahub has already been built with `./gradlew build`.
 | |
| DATAHUB_ROOT=..
 | |
| SPECS_OUT_DIR=$DATAHUB_ROOT/docs/generated/specs
 | |
| 
 | |
| rm -r $SPECS_OUT_DIR || true
 | |
| python scripts/specgen.py --out-dir ${SPECS_OUT_DIR} $@
 | 
