Source

appliancekit-ng / ak-compile-axml

1
2
3
4
5
6
7
#!/usr/bin/env python

from appliancekit.axml import compile_axml_file
import json, sys

data = compile_axml_file(sys.argv[1], phases=['bootstrap', 'packages', 'custom', 'cleanup'])
print json.dumps(data, indent=1)