INNER CODE UNIT · Python

generate_manifests

biowasm/biowasm · bin/compile.py:111

def generate_manifests():
	"""
	Regenerate manifest files
	"""
	if args.dry_run:
		print("<update manifest>")
		return

	# Update the MANIFEST where needed
	to_upload = []
	with open(DIR_MANIFEST_TEMP) as f:
		for row in f.readlines():
			hash, path = row.rstrip().split("  ")

			# Prepare the KV pair for Cloudflare Workers KV
			kv_key = f"{path}:{hash}"
			kv_value, kv_base64 = get_file_contents(str(DIR_BUILD / path))

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…