Beispiel #1
0
 def run(self):
     sys.path.insert(0, self.build_dir)
     from rockpack.mainsite.manager import run
     status = run(*'assets --parse-templates build --production --no-cache'.split())
     sys.path.remove(self.build_dir)
     if status:
         sys.exit(status)
Beispiel #2
0
#!/usr/bin/env python

import sys
from rockpack.mainsite.manager import run
sys.exit(run())