Commit Graph

48 Commits

Author SHA1 Message Date
Hajime Hoshi
d6439c9e6c cmd/ebitenmobile: bug fix: failed to resolve dependencies
Something was changed by updating gomobile (76ac6878050a2eef81867f2c6c21108e59919e8f),
and an additional go-mod-tidy is now required.
2023-12-16 19:52:00 +09:00
Pierre Curto
4de807cc44
all: fix typos (#2558)
Signed-off-by: Pierre Curto <pierre.curto@gmail.com>
2023-01-28 19:06:38 +09:00
Artem Yadelskyi
7bf822bdb1
cmd/ebitenmobile: use go:embed (#2435)
Closes #2410
2022-11-04 17:20:21 +09:00
Artem Yadelskyi
5b53cef59e
all: remove old // +build comments (#2431)
Closes #2325
2022-11-03 12:55:14 +09:00
Hajime Hoshi
8aacf067dd all: use x/sys/execabs instead of os/exec
Closes #2418
2022-11-01 23:36:57 +09:00
Hajime Hoshi
4864814d78 cmd/ebitenmobile: get the gomobile version dynamically
Closes #2356
2022-09-29 02:23:21 +09:00
Hajime Hoshi
ebbf0fbc08 cmd/ebitenmobile: update gomobile 2022-09-28 14:23:48 +09:00
Hajime Hoshi
5404e4d68a all: replace io/ioutil with io and os
Closes #1770
2022-09-15 02:54:25 +09:00
Hajime Hoshi
35259fe09e cmd/ebitenmobile: use go:embed
Updates #1258
2022-09-14 23:46:11 +09:00
Hajime Hoshi
f1040d0507 cmd/ebitenmobile: remove GO111MODULE usage
GO111MODULE is on by default as of Go 1.16.

Closes #2276
2022-09-14 02:41:47 +09:00
Terra Brown
a1cc44833d
add errcheck static analysis (#2293)
Closes #2287
2022-09-10 01:52:46 +09:00
Hajime Hoshi
f7c44f086f replace Ebiten with Ebitengine in comments 2022-08-29 11:17:17 +09:00
Hajime Hoshi
445378ab31 update dependencies 2022-08-08 11:38:10 +09:00
Hajime Hoshi
006b4324dc cmd/ebitenmobile: update Go mobile to enable the latest Android SDK 24
Closes #2085
2022-05-19 09:03:23 +09:00
Hajime Hoshi
ad9abe19a6 cmd/ebitenmobile: adjust gomobile version 2022-04-13 23:49:36 +09:00
Hajime Hoshi
116203c5a5 cmd/ebitenmobile: update gomobile version (reland)
This switches from .framework to .xcframwork for iOS.

Closes #1922
2022-01-05 17:31:46 +09:00
Hajime Hoshi
ea1bc76ef2 Revert "cmd/ebitenmobile: update gomobile version"
This reverts commit f2e19f9fe5 and b065b64f4f

Reason: building iOS framework fails

Updates #1922
2022-01-05 02:24:02 +09:00
Hajime Hoshi
f2e19f9fe5 cmd/ebitenmobile: update gomobile version
Closes #1922
2022-01-05 01:45:33 +09:00
Hajime Hoshi
8418c4a655 cmd/ebitenmobile: add comments 2022-01-03 17:29:43 +09:00
Hajime Hoshi
777e8f2759 cmd/ebitenmobile: Update Gomobile version for Arm macOS
Closes #1794
2021-09-06 12:20:20 +09:00
Hajime Hoshi
01d6fd3c72 cmd/ebitenmobile: Update gomobile 2021-07-16 15:16:40 +09:00
Hajime Hoshi
6d0ffeb7d8 cmd/ebitenmobile: Update gomobile (again) 2021-07-10 16:16:32 +09:00
Hajime Hoshi
679fb70092 cmd/ebitenmobile: Update gomobile 2021-07-10 16:14:43 +09:00
Hajime Hoshi
b54ad73a2b Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
Hajime Hoshi
f1fc6fe3e8 cmd/ebitenmobile: Clean the temporary directory up after the execution 2021-06-10 01:06:52 +09:00
Hajime Hoshi
cb0f4c4378 cmd/ebitenmobile: Bug fix: os.WriteFile is not defined at Go 1.15
Updates #1667
2021-06-09 22:58:22 +09:00
Hajime Hoshi
cf1a91a344 cmd/ebitnmobile: Bug fix: using ebitenmobile with EBITENMOBILE_GOMOBILE failed
Closes #1667
2021-06-09 22:50:01 +09:00
Hajime Hoshi
9cf30d9b70 cmd/ebitenmobile: Handle os.Setenv error
Updates #1666
2021-06-09 21:33:40 +09:00
Hajime Hoshi
269a79408f Revert "cmd/ebitenmobile: Remove gomobile init"
This reverts commit ecc8514d4b.

Reason: This doesn't fix the issue. gomobile assumes the existence of $GOPATH/pkg/gomobile, so leave it as it is.

Updates #1666
2021-06-09 12:58:19 +09:00
Hajime Hoshi
ecc8514d4b cmd/ebitenmobile: Remove gomobile init
`gomobile init` installs gobind at $GOPATH/bin, but this is not
needed for ebitenmobile.

Updates #1666
2021-06-09 12:21:09 +09:00
Hajime Hoshi
a7754eaae0 cmd/ebitenmobile: Update gomobile version 2021-04-14 22:57:39 +09:00
Hajime Hoshi
43ab55d88a Revert "cmd/ebitenmobile: Use the better way to go-get dependencies"
This reverts commit ad2d356262.

Reason: Installation failed on Windows.

Closes #1493
2021-02-14 18:26:46 +09:00
Hajime Hoshi
ad2d356262 cmd/ebitenmobile: Use the better way to go-get dependencies
Updates #1487
2021-02-12 02:45:05 +09:00
Hajime Hoshi
ba674a686c cmd/ebitenmobile: Bug fix: Record go.sum correctly to build gomobile/gobind
Closes #1487
2021-02-10 02:18:06 +09:00
Hajime Hoshi
9806bb2c5e cmd/ebitenmobile: Update gomobile version
This change fixes these issues:

 * Fail to run on Go 1.16 and after
 * Fail to run on Android NDK r22 and after

Closes #1484
2021-02-09 02:16:05 +09:00
Hajime Hoshi
5ec3113aa2 cmd/ebitenmobile: Enable to specify a local gomobile 2020-07-25 03:11:40 +09:00
Hajime Hoshi
7afc242a13 Update gomobile version 2020-07-25 01:35:46 +09:00
Hajime Hoshi
cb0666bc8b cmd/gomobile: Update gomobile version 2020-06-30 13:16:55 +09:00
Hajime Hoshi
4fe8d5c8c2 cmd/ebitenmobile: Update gomobile version
Fixes #1120
2020-03-29 22:00:29 +09:00
Hajime Hoshi
a9c74e48e1 cmd/ebitenmobile: Update gomobile version 2020-03-29 13:44:41 +09:00
Hajime Hoshi
cebc203e6f cmd/ebitenmobile: Bug fix: .exe was requried on Windows
On Windows, executable files must have .exe extension, or
exec.LookPath since exec.LookPath checks %PATHEXT%.

This fixes the issue that ebitenmobile didn't invoke the original
gobind wrapper and then didn't include and compile some Java files.

Fixes #1096
2020-03-05 01:05:59 +09:00
Hajime Hoshi
f396b258e2 cmd/ebitenmobile: Update gomobile version
This change also eliminates a hack for golang/go#36668
2020-02-15 14:06:02 +09:00
Hajime Hoshi
9313e3ad0d cmd/ebitenmobile: Use 'go' directly
See golang/go#26845.
2020-01-24 22:50:50 +09:00
Hajime Hoshi
94d0f1137c cmd/ebitenmobile: Use Go modules in gomobile
Fixes #1055
2020-01-23 22:28:07 +09:00
Hajime Hoshi
78a1698069 cmd/ebitenmobile: Add hack to enable go-list at the temporary directory 2020-01-21 15:07:36 +09:00
Hajime Hoshi
a42b5274df cmd/ebitenmobile: Use GOROOT/bin/go instead of go
Fixes #927
2019-08-24 01:06:16 +09:00
Hajime Hoshi
2ff0ccf4cc cmd/ebitenmobile: Run gomobile init 2019-08-18 17:11:53 +09:00
Hajime Hoshi
9ba113861c Add ebitenmobile command
This works only for iOS so far. I'll implement Java version soon.

Updates #863
2019-08-18 03:03:01 +09:00