File tree Expand file tree Collapse file tree 7 files changed +21
-8
lines changed Expand file tree Collapse file tree 7 files changed +21
-8
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ that can be found in the LICENSE file. -->
4
4
5
5
# Changelog
6
6
7
+ ## 1.0.0-dev.30
8
+
9
+ - Make pod shell respect configured profile on Darwin.
10
+ - Make ` build_pod.sh ` executable.
11
+
7
12
## 1.0.0-dev.29
8
13
9
14
- Implements certificate's time and canister ranges checks.
Original file line number Diff line number Diff line change @@ -28,13 +28,17 @@ Pod::Spec.new do |s|
28
28
29
29
s . script_phase = {
30
30
:name => 'Build Rust library' ,
31
- # First argument is relative path to the `rust` folder, second is name of rust library
32
- :script => 'sh "$PODS_TARGET_SRCROOT/../cargokit/build_pod.sh" ../native/agent_dart agent_dart' ,
33
31
:execution_position => :before_compile ,
34
32
:input_files => [ '${BUILT_PRODUCTS_DIR}/cargokit_phony' ] ,
35
33
# Let XCode know that the static library referenced in -force_load below is
36
34
# created by this build step.
37
35
:output_files => [ "${BUILT_PRODUCTS_DIR}/libagent_dart.a" ] ,
36
+ :shell_path => '/bin/bash' ,
37
+ :script => <<-SCRIPT
38
+ [ -f "$HOME/.profile" ] && source "$HOME/.profile"
39
+ [ -f "$HOME/.bash_profile" ] && source "$HOME/.bash_profile"
40
+ "$PODS_TARGET_SRCROOT/../cargokit/build_pod.sh" ../native/agent_dart agent_dart
41
+ SCRIPT
38
42
}
39
43
s . pod_target_xcconfig = {
40
44
'DEFINES_MODULE' => 'YES' ,
Original file line number Diff line number Diff line change @@ -27,13 +27,17 @@ Pod::Spec.new do |s|
27
27
28
28
s . script_phase = {
29
29
:name => 'Build Rust library' ,
30
- # First argument is relative path to the `rust` folder, second is name of rust library
31
- :script => 'sh "$PODS_TARGET_SRCROOT/../cargokit/build_pod.sh" ../native/agent_dart agent_dart' ,
32
30
:execution_position => :before_compile ,
33
31
:input_files => [ '${BUILT_PRODUCTS_DIR}/cargokit_phony' ] ,
34
32
# Let XCode know that the static library referenced in -force_load below is
35
33
# created by this build step.
36
34
:output_files => [ "${BUILT_PRODUCTS_DIR}/libagent_dart.a" ] ,
35
+ :shell_path => '/bin/bash' ,
36
+ :script => <<-SCRIPT
37
+ [ -f "$HOME/.profile" ] && source "$HOME/.profile"
38
+ [ -f "$HOME/.bash_profile" ] && source "$HOME/.bash_profile"
39
+ "$PODS_TARGET_SRCROOT/../cargokit/build_pod.sh" ../native/agent_dart agent_dart
40
+ SCRIPT
37
41
}
38
42
s . pod_target_xcconfig = {
39
43
'DEFINES_MODULE' => 'YES' ,
Original file line number Diff line number Diff line change 1
1
name : agent_dart
2
- version : 1.0.0-dev.29
2
+ version : 1.0.0-dev.30
3
3
4
4
description : |
5
5
An agent library built for Internet Computer,
Original file line number Diff line number Diff line change 1
1
name : agent_dart_base
2
- version : 1.0.0-dev.29
2
+ version : 1.0.0-dev.30
3
3
4
4
description : The Dart plugin that bridges Rust implementation for agent_dart.
5
5
repository : https://github.com/AstroxNetwork/agent_dart
Original file line number Diff line number Diff line change 1
1
name : agent_dart_ffi
2
- version : 1.0.0-dev.29
2
+ version : 1.0.0-dev.30
3
3
4
4
description : The FFI plugin that bridges Rust implementation for agent_dart.
5
5
repository : https://github.com/AstroxNetwork/agent_dart
@@ -9,7 +9,7 @@ environment:
9
9
sdk : ' >=3.4.0 <4.0.0'
10
10
11
11
dependencies :
12
- flutter_rust_bridge : ' >=2.5.0 <2.6.0 '
12
+ flutter_rust_bridge : ' >=2.5.0 <2.5.1 '
13
13
freezed_annotation : ^2.2.0
14
14
15
15
dev_dependencies :
You can’t perform that action at this time.
0 commit comments