restructure the output layout
also reorganize the scripts folder
This commit is contained in:
parent
df3a5fba7a
commit
4cc15b1246
61 changed files with 926 additions and 3213 deletions
15
scripts/build/fix-mode-flags.sh
Executable file
15
scripts/build/fix-mode-flags.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Managed code doesn't need 'x'
|
||||
find . -type f -name "*.dll" | xargs chmod 644
|
||||
find . -type f -name "*.exe" | xargs chmod 644
|
||||
|
||||
# Generally, dylibs and sos have 'x' (no idea if it's required ;))
|
||||
if [ "$(uname)" == "Darwin" ]; then
|
||||
find . -type f -name "*.dylib" | xargs chmod 755
|
||||
else
|
||||
find . -type f -name "*.so" | xargs chmod 755
|
||||
fi
|
||||
|
||||
# Executables (those without dots) are executable :)
|
||||
find . -type f ! -name "*.*" | xargs chmod 755
|
Loading…
Add table
Add a link
Reference in a new issue