password-manager/scripts/builder/backends/scriptLanguageBuilder.py
Giulio Cesare Solaroli 185949cb77 Improved build scripts
Signed-off-by: Giulio Cesare Solaroli <giulio.cesare@clipperz.com>
2012-02-11 23:34:25 +00:00

21 lines
370 B
Python

#!/usr/bin/env python
# -*- coding: UTF-8 -*-
import shutil
from backendBuilder import BackendBuilder
class ScriptLanguageBuilder(BackendBuilder):
def compileCode (self):
src = self.sourceFolder()
dst = self.tempFolder()
shutil.copytree(src, dst)
def createPackage (self):
src = self.tempFolder()
dst = self.targetFolder()
shutil.copytree(src, dst)