File: delete_cython_generated_files.sh

package info (click to toggle)
python-clickhouse-driver 0.2.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,516 kB
  • sloc: python: 10,950; pascal: 42; makefile: 31; sh: 3
file content (4 lines) | stat: -rwxr-xr-x 162 bytes parent folder | download
1
2
3
4
#!/bin/bash
for fn in $(find clickhouse_driver -name '*.c'); do
  head -n 1 "$fn" | grep -q '^/\* Generated by Cython' && ( echo "Deleting $fn"; rm "$fn" );
done