--- a/sbin/sync/fabfile.py Mon Oct 08 19:24:10 2012 +0200
+++ b/sbin/sync/fabfile.py Mon Oct 08 19:41:11 2012 +0200
@@ -132,6 +132,12 @@
print("do_sync_web with version %s and path %s" % (version,export_path))
web_path = os.path.join(export_path,"web/")
rsync_export(web_path, env.remote_web_path, env.web_rsync_filters)
+
+def do_sync_src(version, export_path):
+ print("do_sync_web with version %s and path %s" % (version,export_path))
+ src_path = os.path.join(export_path,"src/")
+ rsync_export(src_path, env.remote_src_path, env.src_rsync_filters)
+
def check_folder_access():
print("Check folder access")
@@ -157,6 +163,7 @@
print(green("sync web with version %s" % version))
export_path = export_version(version)
do_sync_web(version, export_path)
+ do_sync_src(version, export_path)
create_config(export_path)
clean_export_folder(export_path)
relaunch_server()