Flutter Engine
The Flutter Engine
Functions | Variables
generate_sdk_version_file Namespace Reference

Functions

def Main ()
 

Variables

 SDK_VERSION_FILE = os.path.join(utils.DART_DIR, 'sdk', 'version')
 

Function Documentation

◆ Main()

def generate_sdk_version_file.Main ( )

Definition at line 13 of file generate_sdk_version_file.py.

13def Main():
14 version = utils.ReadVersionFile()
15 with open(SDK_VERSION_FILE, 'w') as versionFile:
16 versionFile.write(f'{version.major}.{version.minor}.0\n')
17 return 0
18
19
def ReadVersionFile(version_file=None)
Definition: utils.py:381

Variable Documentation

◆ SDK_VERSION_FILE

generate_sdk_version_file.SDK_VERSION_FILE = os.path.join(utils.DART_DIR, 'sdk', 'version')

Definition at line 10 of file generate_sdk_version_file.py.