aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-08-20 17:53:06 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:53 +0100
commitb8c716262c9a86b8213d58288d8acf26a2c56946 (patch)
treefbc0400c19b4e6ceb71defd56e83957aa5c7b457
parent9a736ce08f19bc4cd5be63d7b87af3d6e1a8741b (diff)
downloadwee-slack-b8c716262c9a86b8213d58288d8acf26a2c56946.tar.gz
Include python_compatibility.py first in compiled script
This is necessary for these functions to be available in the other files, and this file doesn't depend on any of the other files.
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 5b3458c..1d550c3 100755
--- a/build.sh
+++ b/build.sh
@@ -2,7 +2,7 @@
shopt -s extglob
-contents="$(cat slack/util.py slack/task.py slack/!(util|task).py main.py | \
+contents="$(cat slack/python_compatibility.py slack/util.py slack/task.py slack/!(python_compatibility|util|task).py main.py | \
perl -0777 -pe 's/^( *from [^(\n]+\([^)]+\))/$1=~s|\s+| |gr/mge' | \
grep -Ev '^from slack[. ]')"