parameters: (target_dir)
docstring: Create the asset.
docstring_summary: Create the asset.
docstring_tokens: Create the asset .
function: def create_asset(target_dir):
    """Create the asset."""
    with utils.tmp_dir():
      cwd = os.getcwd()
      zipfile = os.path.join(cwd, 'go.zip')
      subprocess.check_call(["wget", '-O', zipfile, GO_URL])
      subprocess.check_call(["unzip", zipfile, "-d", target_dir])
function_tokens: def create_asset ( target_dir ) : with utils . tmp_dir ( ) : cwd = os . getcwd ( ) zipfile = os . path . join ( cwd , 'go.zip' ) subprocess . check_call ( [ "wget" , '-O' , zipfile , GO_URL ] ) subprocess . check_call ( [ "unzip" , zipfile , "-d" , target_dir ] )