@@ -69,11 +69,11 @@ use tokio::task;
69
69
use url:: Url ;
70
70
71
71
mod aptos_debug_natives;
72
- mod bytecode;
72
+ pub mod bytecode;
73
73
pub mod coverage;
74
- mod manifest;
74
+ pub mod manifest;
75
75
pub mod package_hooks;
76
- mod show;
76
+ pub mod show;
77
77
pub mod stored_package;
78
78
79
79
const HELLO_BLOCKCHAIN_EXAMPLE : & str = include_str ! (
@@ -209,24 +209,30 @@ impl FrameworkPackageArgs {
209
209
// Add the framework dependency if it's provided
210
210
let mut dependencies = BTreeMap :: new ( ) ;
211
211
if let Some ( ref path) = self . framework_local_dir {
212
- dependencies. insert ( APTOS_FRAMEWORK . to_string ( ) , Dependency {
213
- local : Some ( path. display ( ) . to_string ( ) ) ,
214
- git : None ,
215
- rev : None ,
216
- subdir : None ,
217
- aptos : None ,
218
- address : None ,
219
- } ) ;
212
+ dependencies. insert (
213
+ APTOS_FRAMEWORK . to_string ( ) ,
214
+ Dependency {
215
+ local : Some ( path. display ( ) . to_string ( ) ) ,
216
+ git : None ,
217
+ rev : None ,
218
+ subdir : None ,
219
+ aptos : None ,
220
+ address : None ,
221
+ } ,
222
+ ) ;
220
223
} else {
221
224
let git_rev = self . framework_git_rev . as_deref ( ) . unwrap_or ( DEFAULT_BRANCH ) ;
222
- dependencies. insert ( APTOS_FRAMEWORK . to_string ( ) , Dependency {
223
- local : None ,
224
- git : Some ( APTOS_GIT_PATH . to_string ( ) ) ,
225
- rev : Some ( git_rev. to_string ( ) ) ,
226
- subdir : Some ( SUBDIR_PATH . to_string ( ) ) ,
227
- aptos : None ,
228
- address : None ,
229
- } ) ;
225
+ dependencies. insert (
226
+ APTOS_FRAMEWORK . to_string ( ) ,
227
+ Dependency {
228
+ local : None ,
229
+ git : Some ( APTOS_GIT_PATH . to_string ( ) ) ,
230
+ rev : Some ( git_rev. to_string ( ) ) ,
231
+ subdir : Some ( SUBDIR_PATH . to_string ( ) ) ,
232
+ aptos : None ,
233
+ address : None ,
234
+ } ,
235
+ ) ;
230
236
}
231
237
232
238
let manifest = MovePackageManifest {
0 commit comments