mirror of
				https://github.com/gsi-upm/sitc
				synced 2025-10-30 23:18:18 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			317 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			317 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| FOLDER:=.
 | |
| ERROR:=255
 | |
| 
 | |
| exec:
 | |
| 	find $(FOLDER) -iname '*.ipynb' -print0 | xargs -n 1 -0 sh -c 'jupyter nbconvert --execute --ClearOutputPreprocessor.enabled=True --inplace $$0 || exit $(ERROR)'
 | |
| 
 | |
| clean:
 | |
| 	find $(FOLDER) -iname '*.ipynb' -print0 | xargs -n 1 -0 sh -c 'nbstripout $$0 || exit $(ERROR)'
 | |
| 
 | |
| 
 | |
| .PHONY: exec clean
 |