Skip to content

Commit dd03e25

Browse files
committed
Build / deploy fixes
Fix information for pub to deploy packages. Fix windows .dll to be a Dart 3.5 dll and fix its name.
1 parent a5ccec9 commit dd03e25

File tree

10 files changed

+13
-5
lines changed

10 files changed

+13
-5
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
run: |
5353
mkdir -p out/extension
5454
cp -r src/assets/* out/extension
55-
cp src/dart_dll/bin/release/dart_dll_win64.dll out/extension
55+
cp src/dart_dll/bin/release/dart_dll.dll out/extension
5656
cp src/dart_dll/bin/release/libdart_dll.so out/extension
5757
cp src/dart_dll/bin/release/libdart_dll.dylib out/extension
5858
cp artifacts/windows-x64/godot_dart.dll out/extension

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
src/cpp/.build
44
build/
55
**/.DS_Store
6+
src/dart/godot_dart_build/.dart_tool

src/cpp/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ target_include_directories(godot_dart PUBLIC
5555
"${DART_DIR}/include"
5656
)
5757

58-
set(DART_DLL_NAMES
59-
"dart_dll_win64"
58+
set(DART_DLL_NAMES
6059
"dart_dll"
6160
)
6261

src/dart/godot_dart/.pubignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Unignore generated files for pub
2+
!lib/src/gen/

src/dart/godot_dart/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.1.1
2+
3+
- Fix missing generated libraries
4+
15
## 0.1.0
26

37
- Initial version.

src/dart/godot_dart/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: godot_dart
22
description: Dart bindings for the Godot game engine
33
repository: https://github.com/fuzzybinary/godot_dart
4-
version: 0.1.0
4+
version: 0.1.1
55

66
environment:
77
sdk: '>=3.0.0 <4.0.0'

src/dart/godot_dart_build/.dart_tool/package_config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,10 @@
248248
"languageVersion": "3.0"
249249
}
250250
],
251-
"generated": "2024-09-02T03:13:27.234710Z",
251+
"generated": "2024-09-02T03:41:32.854747Z",
252252
"generator": "pub",
253253
"generatorVersion": "3.5.0",
254+
"flutterRoot": "file:///C:/Users/Jeff%20Ward/Projects/flutter",
255+
"flutterVersion": "3.24.0",
254256
"pubCache": "file:///C:/Users/Jeff%20Ward/AppData/Local/Pub/Cache"
255257
}

src/dart_dll/bin/release/dart_dll.lib

70.2 KB
Binary file not shown.
-71.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)