import sys
import subprocess
import string
-from optparse import OptionParser, make_option\r
+from optparse import OptionParser, make_option
import ConfigParser
action_status = False
break
- # Do some special copy/delete... steps
- '''
- (return_code, output) = doRemoteCMD(
- "mkdir -p %s/tests" % PKG_SRC_DIR)
- if return_code != 0:
- action_status = False
-
- if not doRemoteCopy("specname/tests", "%s/tests" % PKG_SRC_DIR):
- action_status = False
- '''
+ for item in glob.glob("%s/*" % SCRIPT_DIR):
+ if item.endswith(".wgt"):
+ continue
+ elif item.endswith("inst.py"):
+ continue
+ else:
+ item_name = os.path.basename(item)
+ if not doRemoteCopy(item, "%s/%s" % (PKG_SRC_DIR, item_name)):
+ #if not doRemoteCopy(item, PKG_SRC_DIR):
+ action_status = False
return action_status
"tests.full.xml": "tests.full.xml",
"tests.xml": "tests.xml"
},
- "pkg-app": {\r
- "sign-flag": "true"\r
+ "pkg-app": {
+ "sign-flag": "true",
+ "hosted-app": "true"
}
},
"apk-aio, cordova-aio": {
"blacklist": []
},
"wgt": {
- "blacklist": [
- "*"
- ],
+ "blacklist": [],
"copylist": {
"inst.wgt.py": "inst.py",
"tests.full.xml": "tests.full.xml",
"tests.xml": "tests.xml"
},
- "pkg-app": {\r
- "sign-flag": "true"\r
+ "pkg-app": {
+ "blacklist": [],
+ "sign-flag": "true",
+ "hosted-app": "true"
}
},
"xpk": {
},
"pkg-app": {
"blacklist": [],
- "sign-flag": "true"
+ "sign-flag": "true",
+ "hosted-app": "true"
}
}
},