diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2022-10-29 16:57:53 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-18 11:32:52 +0100 |
commit | acaf2e81719ba160aac3bc7c3c78fc4db3d13f65 (patch) | |
tree | a23c4c04ac63987312ce2ff9bb6fc1351c887dfe /combine.sh | |
parent | cdf3cfe4a2ed8a340ac1a8404e7cd7e604fe3857 (diff) | |
download | wee-slack-acaf2e81719ba160aac3bc7c3c78fc4db3d13f65.tar.gz |
Use class for shared, so we don't have to change usage when combining
Diffstat (limited to 'combine.sh')
-rwxr-xr-x | combine.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,6 @@ #!/bin/bash -contents="$(cat slack/globals.py slack/log.py slack/util.py slack/task.py slack/http.py slack/api.py slack/config.py slack/main.py slack.py | grep -Ev '^from (\.|slack)' | sed 's/G\.//')" +contents="$(cat slack/*.py slack.py | grep -Ev '^from (\.|slack)')" echo "$contents" | grep '^from __future__' | sort -u > combined.py echo "$contents" | grep -v '^from __future__' | grep -E '^(import|from)' | sort -u >> combined.py |