aboutsummaryrefslogtreecommitdiffstats
path: root/combine.sh
diff options
context:
space:
mode:
Diffstat (limited to 'combine.sh')
-rwxr-xr-xcombine.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/combine.sh b/combine.sh
index 688d3c1..bea824b 100755
--- a/combine.sh
+++ b/combine.sh
@@ -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