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():
      tarball = 'vulkansdk-linux.tar.gz'
      subprocess.check_call(['curl', SDK_URL, '--output', tarball])
      subprocess.check_call(['tar', '--extract', '--verbose',
                             '--file=%s' % tarball, '--gunzip',
                             '--directory=%s' % target_dir,
                             '--strip-components=2',
                             '%s/x86_64' % SDK_VERSION])
function_tokens: def create_asset ( target_dir ) : with utils . tmp_dir ( ) : tarball = 'vulkansdk-linux.tar.gz' subprocess . check_call ( [ 'curl' , SDK_URL , '--output' , tarball ] ) subprocess . check_call ( [ 'tar' , '--extract' , '--verbose' , '--file=%s' % tarball , '--gunzip' , '--directory=%s' % target_dir , '--strip-components=2' , '%s/x86_64' % SDK_VERSION ] )