#!/usr/bin/env python import sys for line in sys.stdin: assert line.startswith("src/assets/textures/") name = line[len("src/assets/textures/"):].strip() print( ' ("' + name + '".to_string(), include_bytes!("assets/textures/' + name + '").to_vec()),' )