[Build] Change comparison for binary libraries

Instead of size we will compare hash of the `imgui-binding/src/main` folder.
This commit is contained in:
SpaiR committed 2022-12-27 12:30:06 +02:00
1 parent c71ed6f198
commit e2cfbdcf3f
4 files changed
+31 -36

No files matched your search

-8
View File
@@ -1,8 +0,0 @@
import sys
import os
# A python script to compare file size of two files.
# Used to compare sizes of binaries to see, if there is a difference between them.
# Shell scripts are not used, since Python is a more portable solution.
os.path.getsize(sys.argv[1]) == os.path.getsize(sys.argv[2]) if sys.exit(0) else sys.exit(1)