Skip to content

Commit 47f898b

Browse files
committed
1 parent 01e8d00 commit 47f898b

File tree

8 files changed

+24
-24
lines changed

8 files changed

+24
-24
lines changed

.github/workflows/cmake-multiple-platform.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ jobs:
6666
mkdir -p build
6767
cd build
6868
cmake -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DGOLM_VERSION="${{ needs.setup.outputs.buildnumber }}" -DGOLM_PACKAGE="golm-build-${{ needs.setup.outputs.buildnumber }}-windows-${{ env.GITHUB_SHA_SHORT }}" ..
69-
cmake --build . --target go-lang-module --config ${{ env.BUILD_TYPE }} -- /m
69+
cmake --build . --target plugify-module-golang --config ${{ env.BUILD_TYPE }} -- /m
7070
7171
- name: Clean build directory
7272
run: |
7373
mkdir -p build/output/bin
74-
cp build/${{env.BUILD_TYPE}}/go-lang-module.dll build/output/bin
75-
cp build/go-lang-module.pmodule build/output
74+
cp build/${{env.BUILD_TYPE}}/plugify-module-golang.dll build/output/bin
75+
cp build/plugify-module-golang.pmodule build/output
7676
7777
- uses: actions/upload-artifact@v4
7878
with:
@@ -106,13 +106,13 @@ jobs:
106106
mkdir -p build
107107
cd build
108108
cmake -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DGOLM_VERSION="${{ needs.setup.outputs.buildnumber }}" -DGOLM_PACKAGE="golm-build-${{ needs.setup.outputs.buildnumber }}-linux-${{ env.GITHUB_SHA_SHORT }}" ..
109-
cmake --build . --target go-lang-module --config ${{ env.BUILD_TYPE }} -- -j
109+
cmake --build . --target plugify-module-golang --config ${{ env.BUILD_TYPE }} -- -j
110110
111111
- name: Clean build directory
112112
run: |
113113
mkdir -p build/output/bin
114-
mv build/libgo-lang-module.so build/output/bin
115-
mv build/go-lang-module.pmodule build/output
114+
mv build/libplugify-module-golang.so build/output/bin
115+
mv build/plugify-module-golang.pmodule build/output
116116
117117
- uses: actions/upload-artifact@v4
118118
with:
@@ -212,7 +212,7 @@ jobs:
212212
package_name = 'golm-build-${{ needs.setup.outputs.buildnumber }}-{}-${{ env.GITHUB_SHA_SHORT }}'
213213
checksum_linux = '${{ needs.publish.outputs.checksum_linux }}'
214214
checksum_windows = '${{ needs.publish.outputs.checksum_windows }}'
215-
json_url = 'https://untrustedmodders.github.io/go-lang-module/go-lang-module.json'
215+
json_url = 'https://untrustedmodders.github.io/plugify-module-golang/plugify-module-golang.json'
216216
217217
def load_json_from_url(url):
218218
try:
@@ -222,8 +222,8 @@ jobs:
222222
except requests.RequestException:
223223
return {
224224
"content": {
225-
"go-lang-module": {
226-
"name": "go-lang-module",
225+
"plugify-module-golang": {
226+
"name": "plugify-module-golang",
227227
"type": "golang",
228228
"author": "untrustedmodders",
229229
"description": "Adds support for Go plugins",
@@ -240,11 +240,11 @@ jobs:
240240
new_version = {
241241
"version": version,
242242
"checksum": f"{checksum}",
243-
"download": f"https://github.com/untrustedmodders/go-lang-module/releases/download/v{version}/{package.format(platform)}.zip",
243+
"download": f"https://github.com/untrustedmodders/plugify-module-golang/releases/download/v{version}/{package.format(platform)}.zip",
244244
"platforms": [f"{platform}"]
245245
}
246246
247-
versions = data["content"]["go-lang-module"]["versions"]
247+
versions = data["content"]["plugify-module-golang"]["versions"]
248248
versions.append(new_version)
249249
250250
if len(versions) > 10:
@@ -255,7 +255,7 @@ jobs:
255255
data = load_json_from_url(json_url)
256256
data = append_new_version(data, version_number, checksum_windows, package_name, "windows")
257257
data = append_new_version(data, version_number, checksum_linux, package_name, "linux")
258-
save_json('build/repo/go-lang-module.json', data)
258+
save_json('build/repo/plugify-module-golang.json', data)
259259
260260
- name: Upload artifact
261261
uses: actions/upload-pages-artifact@v2

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if(POLICY CMP0092)
55
endif()
66

77

8-
project(go-lang-module VERSION 1.0.0.0 DESCRIPTION "Go Language Module" HOMEPAGE_URL "https://github.com/untrustedmodders/go-lang-module" LANGUAGES CXX)
8+
project(plugify-module-golang VERSION 1.0.0.0 DESCRIPTION "Go Language Module" HOMEPAGE_URL "https://github.com/untrustedmodders/plugify-module-golang" LANGUAGES CXX)
99

1010
set(CMAKE_CXX_STANDARD 20)
1111
set(CMAKE_CXX_STANDARD_REQUIRED ON)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ The Go Language Module for Plugify enables developers to write plugins in Go for
2121
1. Clone this repository:
2222

2323
```bash
24-
git clone https://github.com/untrustedmodders/go-lang-module.git
25-
cd go-lang-module
24+
git clone https://github.com/untrustedmodders/plugify-module-golang.git
25+
cd plugify-module-golang
2626
git submodule update --init --recursive
2727
```
2828

generator/generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ def main(manifest_path, output_dir, override):
906906

907907
content = ''
908908

909-
link = 'https://github.com/untrustedmodders/cpp-lang-module/blob/main/generator/generator.py'
909+
link = 'https://github.com/untrustedmodders/plugify-module-cpp/blob/main/generator/generator.py'
910910

911911
content += f'package {plugin_name}\n'
912912
content += '\n'

go-lang-module.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"content": {
3-
"go-lang-module": {
4-
"name": "go-lang-module",
3+
"plugify-module-golang": {
4+
"name": "plugify-module-golang",
55
"type": "golang",
66
"author": "untrustedmodders",
77
"description": "Adds support for Go plugins",
88
"versions": [
99
{
1010
"version": 1,
1111
"checksum": "",
12-
"download": "https://github.com/untrustedmodders/go-lang-module/releases/download/v1.0/go-lang-module.zip",
12+
"download": "https://github.com/untrustedmodders/plugify-module-golang/releases/download/v1.0/plugify-module-golang.zip",
1313
"platforms": [
1414
]
1515
}

go-lang-module.pmodule.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"description": "Adds support for Go plugins",
88
"createdBy": "untrustedmodders",
99
"createdByURL": "https://github.com/untrustedmodders/",
10-
"docsURL": "https://github.com/untrustedmodders/go-lang-module/blob/main/README.md",
11-
"downloadURL": "https://github.com/untrustedmodders/go-lang-module/releases/download/v${GOLM_VERSION}/${GOLM_PACKAGE}.zip",
12-
"updateURL": "https://untrustedmodders.github.io/go-lang-module/go-lang-module.json",
10+
"docsURL": "https://github.com/untrustedmodders/plugify-module-golang/blob/main/README.md",
11+
"downloadURL": "https://github.com/untrustedmodders/plugify-module-golang/releases/download/v${GOLM_VERSION}/${GOLM_PACKAGE}.zip",
12+
"updateURL": "https://untrustedmodders.github.io/plugify-module-golang/plugify-module-golang.json",
1313
"supportedPlatforms": [],
1414
"forceLoad": false
1515
}

test/cross_call_worker/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ This command will create two files:
1717

1818
Generated Files:
1919

20-
The example_cpp_plugin.go and example_cpp_plugin.h files were generated by a generator located at https://github.com/untrustedmodders/go-lang-module/tree/main/generator.
20+
The example_cpp_plugin.go and example_cpp_plugin.h files were generated by a generator located at https://github.com/untrustedmodders/plugify-module-golang/tree/main/generator.

test/cross_call_worker/cross_call_master/cross_call_master.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package cross_call_master
22

3-
//generated with https://github.com/untrustedmodders/cpp-lang-module/blob/main/generator/generator.py from cross_call_master
3+
//generated with https://github.com/untrustedmodders/plugify-module-cpp/blob/main/generator/generator.py from cross_call_master
44

55
// #include "cross_call_master.h"
66
import "C"

0 commit comments

Comments
 (0)