Debian Codegraph @

release_builder.sh

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 # Clean the release dir
4 rmscip-shell system . . rm. -rf release/*
5 # Copy the source and license file
6 mkdirscip-shell system . . mkdir. -p release/ResistorDecoder/ResistorDecoder
7 cpscip-shell system . . cp. -a ResistorDecoder/src release/ResistorDecoder/ResistorDecoder
8 cpscip-shell system . . cp. LICENSE release/ResistorDecoder
9 cpscip-shell system . . cp. setup.py release/ResistorDecoder
10 cpscip-shell system . . cp. README.md release/ResistorDecoder
11 cpscip-shell system . . cp. dist/ResistorDecoder.desktop release/ResistorDecoder
12 cpscip-shell system . . cp. ResistorDecoder/icons/resistor_decoder.png release/ResistorDecoder
13 touchscip-shell system . . touch. release/ResistorDecoder/ResistorDecoder/__init__.py
14 # Delete the pycache
15 cd release
16 findscip-shell system . . find. . -type d -name __pycache__ -exec rm -dr {} \;
17 # Add root dependency to all imports
18 findscip-shell system . . find. . -exec sed -i "s/import resource_base_rc/import ResistorDecoder.src.resource_base_rc/g" {} \;
19 # Create the tarball
20 tarscip-shell system . . tar. -czf ResistorDecoder-1.0.tar.gz ResistorDecoder