Files
baukit/notebooks/setup_notebooks.sh
T
2022-05-02 13:21:54 -04:00

13 lines
361 B
Bash
Executable File

#!/bin/bash
# Start from directory of script
cd "$(dirname "${BASH_SOURCE[0]}")"
# Set up git config filters so huge output of notebooks is not committed.
git config filter.clean_ipynb.clean "$(pwd)/ipynb_drop_output.py"
git config filter.clean_ipynb.smudge cat
git config filter.clean_ipynb.required true
# Set up directory for testing.
ln -s ../torchkit .