mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
glfw: Use Dockerfile for ease to generate the embedding files for Windows
As MinGW version is specified, the result should be more deterministic. Fixes #1201
This commit is contained in:
parent
d73472f4f2
commit
7307a148f5
9
internal/glfw/Dockerfile
Normal file
9
internal/glfw/Dockerfile
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
FROM debian:testing
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y \
|
||||||
|
ca-certificates \
|
||||||
|
golang \
|
||||||
|
gcc-mingw-w64=10.1.0-3+23 \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
WORKDIR /work
|
1
internal/glfw/gen.sh
Executable file
1
internal/glfw/gen.sh
Executable file
@ -0,0 +1 @@
|
|||||||
|
docker run --rm --volume $(pwd)/../..:/work $(docker build -q .) /bin/bash -c "cd ./internal/glfw; go run gen.go"
|
@ -12,6 +12,6 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
//go:generate go run gen.go
|
//go:generate sh ./gen.sh
|
||||||
|
|
||||||
package glfw
|
package glfw
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user