File: cleanup-script.sh

package info (click to toggle)
rocketcea 1.1.18%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 40,068 kB
  • sloc: python: 8,231; fortran: 5,605; pascal: 128; makefile: 9; sh: 5
file content (20 lines) | stat: -rwxr-xr-x 592 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
#
#	clean upstream source to achieve DFSG compliance
#	Copyright 2020 by Bdale Garbee.  GPL v3 or any later version.
#

# remove pre-compiled Windows binaries
find . -name \*.pyd -exec rm {} \;

# remove jquery-related javascript droppings
find . -name \*.js -exec rm {} \;

# remove pre-run coverage analysis output to avoid copyright assertion confusion
rm -rf rocketcea/cover

# remove spurious csv file that somehow ends up in the delivered python dir
rm rocketcea/separated_Noz.csv rocketcea/tests/separated_Noz.csv

# remove spurious "backup" file
rm rocketcea/cea_obj.py.bak