diff options
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 |