-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
65 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
# entrypoint.sh | ||
|
||
set -e | ||
|
||
if [ -z "$HOSTUID" ]; then | ||
echo "HOSTUID is not set." | ||
exit 1 | ||
fi | ||
|
||
if [ -z "$HOSTGID" ]; then | ||
echo "HOSTGID is not set." | ||
exit 1 | ||
fi | ||
|
||
usermod -u $HOSTUID builder | ||
groupmod -g $HOSTGID builder | ||
|
||
# If -l, --login is used here, the variables defined in | ||
# docker-compose.yml do not get exported | ||
su builder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/sh | ||
# This file is part of vs-fltk | ||
# License: https://github.com/KaruroChori/vs-fltk/blob/master/LICENCE.md | ||
|
||
set -e | ||
|
||
if [ ! -f "src/app/main.cpp" ]; then | ||
echo "This script must be run from the source root." | ||
exit 1 | ||
fi | ||
|
||
set -v | ||
|
||
bun install | ||
bun run codegen | ||
|
||
if [ "$(uname)" != "Darwin" ]; then | ||
bun run meson-setup.clang-release | ||
else | ||
meson setup -Dforce_x11_backend=true --reconfigure build --buildtype=release --native-file toolchains/flatpak.ini | ||
# Unclear fix to be investigated | ||
rm subprojects/libtcc/VERSION | ||
fi | ||
|
||
meson compile -C build vs:executable |