From ab3ade621032e5ec50a4f5beaad744bda03f1bf6 Mon Sep 17 00:00:00 2001 From: Milan Nikolic Date: Sun, 4 Dec 2022 12:58:11 +0100 Subject: [PATCH] Update modules --- .github/workflows/build.yml | 2 +- .gitignore | 3 --- easings/go.mod | 2 +- examples/core/2d_camera_mouse_zoom/go.mod | 11 ----------- examples/go.mod | 18 +++++++++++++----- examples/go.sum | 4 ++++ examples/gui/basic_controls/go.mod | 11 ----------- examples/gui/button/go.mod | 8 -------- examples/gui/controls_test_suite/go.mod | 11 ----------- examples/gui/portable_window/go.mod | 11 ----------- examples/gui/scroll_panel/go.mod | 11 ----------- physics/go.mod | 4 ++-- raygui/go.mod | 4 ++-- 13 files changed, 23 insertions(+), 77 deletions(-) delete mode 100644 examples/core/2d_camera_mouse_zoom/go.mod create mode 100644 examples/go.sum delete mode 100644 examples/gui/basic_controls/go.mod delete mode 100644 examples/gui/button/go.mod delete mode 100644 examples/gui/controls_test_suite/go.mod delete mode 100644 examples/gui/portable_window/go.mod delete mode 100644 examples/gui/scroll_panel/go.mod diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 71c4e77..ad84703 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ jobs: test: strategy: matrix: - go-version: [1.17.x] + go-version: [1.19.x] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: diff --git a/.gitignore b/.gitignore index 824d669..c6074b2 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,3 @@ .idea .vsc .vs - -# Ignore go.sum when go.mod is added. -go.sum diff --git a/easings/go.mod b/easings/go.mod index 388eb3f..8419aad 100644 --- a/easings/go.mod +++ b/easings/go.mod @@ -1,3 +1,3 @@ module github.com/gen2brain/raylib-go/easings -go 1.16 +go 1.19 diff --git a/examples/core/2d_camera_mouse_zoom/go.mod b/examples/core/2d_camera_mouse_zoom/go.mod deleted file mode 100644 index 1b94db7..0000000 --- a/examples/core/2d_camera_mouse_zoom/go.mod +++ /dev/null @@ -1,11 +0,0 @@ -module example - -go 1.19 - -require ( - github.com/gen2brain/raylib-go/raygui v0.0.0-20221122151443-e8a384ed1346 - github.com/gen2brain/raylib-go/raylib v0.0.0-20221122155035-fe6d2c0ed32a -) - -replace github.com/gen2brain/raylib-go/raylib => ../../../raylib -replace github.com/gen2brain/raylib-go/raygui => ../../../raygui diff --git a/examples/go.mod b/examples/go.mod index 466bea3..31a3262 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -1,12 +1,20 @@ module examples -go 1.16 +go 1.19 + +replace github.com/gen2brain/raylib-go/easings => ../easings + +replace github.com/gen2brain/raylib-go/physics => ../physics + +replace github.com/gen2brain/raylib-go/raygui => ../raygui + +replace github.com/gen2brain/raylib-go/raylib => ../raylib require ( - github.com/gen2brain/raylib-go/easings v0.0.0-20220827153754-6e090424c541 - github.com/gen2brain/raylib-go/physics v0.0.0-20220827153754-6e090424c541 - github.com/gen2brain/raylib-go/raygui v0.0.0-20220827153754-6e090424c541 - github.com/gen2brain/raylib-go/raylib v0.0.0-20220827153754-6e090424c541 + github.com/gen2brain/raylib-go/easings v0.0.0-00010101000000-000000000000 + github.com/gen2brain/raylib-go/physics v0.0.0-00010101000000-000000000000 + github.com/gen2brain/raylib-go/raygui v0.0.0-00010101000000-000000000000 + github.com/gen2brain/raylib-go/raylib v0.0.0-00010101000000-000000000000 github.com/jakecoffman/cp v1.2.1 github.com/neguse/go-box2d-lite v0.0.0-20170921151050-5d8ed9b7272b ) diff --git a/examples/go.sum b/examples/go.sum new file mode 100644 index 0000000..9eb30b4 --- /dev/null +++ b/examples/go.sum @@ -0,0 +1,4 @@ +github.com/jakecoffman/cp v1.2.1 h1:zkhc2Gpo9l4NLUZfeG3j33+3bQD7MkqPa+n5PdX+5mI= +github.com/jakecoffman/cp v1.2.1/go.mod h1:JjY/Fp6d8E1CHnu74gWNnU0+b9VzEdUVPoJxg2PsTQg= +github.com/neguse/go-box2d-lite v0.0.0-20170921151050-5d8ed9b7272b h1:+67TGbwfgeB5o03Rx+ZBW44zAQ+wUujcwdRA0p9CbJI= +github.com/neguse/go-box2d-lite v0.0.0-20170921151050-5d8ed9b7272b/go.mod h1:kvKwD9codtns5mvpA53V3vLnqFb/Ahcu8zgkGM0SIbI= diff --git a/examples/gui/basic_controls/go.mod b/examples/gui/basic_controls/go.mod deleted file mode 100644 index 1b94db7..0000000 --- a/examples/gui/basic_controls/go.mod +++ /dev/null @@ -1,11 +0,0 @@ -module example - -go 1.19 - -require ( - github.com/gen2brain/raylib-go/raygui v0.0.0-20221122151443-e8a384ed1346 - github.com/gen2brain/raylib-go/raylib v0.0.0-20221122155035-fe6d2c0ed32a -) - -replace github.com/gen2brain/raylib-go/raylib => ../../../raylib -replace github.com/gen2brain/raylib-go/raygui => ../../../raygui diff --git a/examples/gui/button/go.mod b/examples/gui/button/go.mod deleted file mode 100644 index 7ce5cb7..0000000 --- a/examples/gui/button/go.mod +++ /dev/null @@ -1,8 +0,0 @@ -module example - -go 1.19 - -require ( - github.com/gen2brain/raylib-go/raygui v0.0.0-20221117130019-ce3c8e83dd6d - github.com/gen2brain/raylib-go/raylib v0.0.0-20221117130019-ce3c8e83dd6d -) diff --git a/examples/gui/controls_test_suite/go.mod b/examples/gui/controls_test_suite/go.mod deleted file mode 100644 index 1b94db7..0000000 --- a/examples/gui/controls_test_suite/go.mod +++ /dev/null @@ -1,11 +0,0 @@ -module example - -go 1.19 - -require ( - github.com/gen2brain/raylib-go/raygui v0.0.0-20221122151443-e8a384ed1346 - github.com/gen2brain/raylib-go/raylib v0.0.0-20221122155035-fe6d2c0ed32a -) - -replace github.com/gen2brain/raylib-go/raylib => ../../../raylib -replace github.com/gen2brain/raylib-go/raygui => ../../../raygui diff --git a/examples/gui/portable_window/go.mod b/examples/gui/portable_window/go.mod deleted file mode 100644 index 1b94db7..0000000 --- a/examples/gui/portable_window/go.mod +++ /dev/null @@ -1,11 +0,0 @@ -module example - -go 1.19 - -require ( - github.com/gen2brain/raylib-go/raygui v0.0.0-20221122151443-e8a384ed1346 - github.com/gen2brain/raylib-go/raylib v0.0.0-20221122155035-fe6d2c0ed32a -) - -replace github.com/gen2brain/raylib-go/raylib => ../../../raylib -replace github.com/gen2brain/raylib-go/raygui => ../../../raygui diff --git a/examples/gui/scroll_panel/go.mod b/examples/gui/scroll_panel/go.mod deleted file mode 100644 index 1b94db7..0000000 --- a/examples/gui/scroll_panel/go.mod +++ /dev/null @@ -1,11 +0,0 @@ -module example - -go 1.19 - -require ( - github.com/gen2brain/raylib-go/raygui v0.0.0-20221122151443-e8a384ed1346 - github.com/gen2brain/raylib-go/raylib v0.0.0-20221122155035-fe6d2c0ed32a -) - -replace github.com/gen2brain/raylib-go/raylib => ../../../raylib -replace github.com/gen2brain/raylib-go/raygui => ../../../raygui diff --git a/physics/go.mod b/physics/go.mod index 34c7dc1..693c396 100644 --- a/physics/go.mod +++ b/physics/go.mod @@ -1,7 +1,7 @@ module github.com/gen2brain/raylib-go/physics -go 1.16 +go 1.19 replace github.com/gen2brain/raylib-go/raylib => ../raylib -require github.com/gen2brain/raylib-go/raylib v0.0.0-20211111173445-914ca1ffdc4d +require github.com/gen2brain/raylib-go/raylib v0.0.0-00010101000000-000000000000 diff --git a/raygui/go.mod b/raygui/go.mod index c2adde5..149e6f9 100644 --- a/raygui/go.mod +++ b/raygui/go.mod @@ -2,6 +2,6 @@ module github.com/gen2brain/raylib-go/raygui go 1.19 -require github.com/gen2brain/raylib-go/raylib v0.0.0-20221117130019-ce3c8e83dd6d +replace github.com/gen2brain/raylib-go/raylib => ../raylib -replace github.com/gen2brain/raylib-go/raylib => ../../../raylib +require github.com/gen2brain/raylib-go/raylib v0.0.0-00010101000000-000000000000