Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
Static Methods
findAppDirectory (Directory serverDirectory )
→ Directory
Finds the Flutter app of the Serverpod project in serverDirectory.
findWorkspaceRoot (Directory projectDir )
→ (Directory , Pubspec )
Finds the workspace root directory above the project directory.
Returns a tuple with the workspace root directory and a Pubspec object
for its pubspec.yaml file.
prepare (Directory projectDirectory , {required TenantProjectPubspec tenantProjectPubspec , String ? scloudDirPath })
→ ProjectFilePreparer
Analyzes the tenant project structure, creates bespoke deployment files,
and compiles the list of paths whose contents are to be included. In a
workspace, the .scloudignore file is also created in the project's
package when it has none.
prepareApp (Directory appDirectory , {Set <FlutterPlatform > ? platforms , String ? scloudDirPath })
→ ProjectFilePreparer
Analyzes the Flutter app in appDirectory and compiles the list of
paths whose contents are to be included.
presentPlatforms (Directory appDirectory )
→ Set <FlutterPlatform >
Returns the platforms the app in appDirectory has code for.
resolveLockfileDirectory (Directory projectDirectory , {required bool isWorkspaceResolved })
→ Directory
Returns the directory that holds the tenant project's pubspec.lock.
stripDevDependenciesFromPubspecContent (String pubspecContent )
→ String ?
Strips dev_dependencies from pubspec.yaml content in memory.
Returns the modified content, or null if no changes were needed.
serverpod_cloud_cli 1.3.1