add test folder
authorHanoh Haim <[email protected]>
Mon, 18 Apr 2016 10:41:27 +0000 (13:41 +0300)
committerHanoh Haim <[email protected]>
Mon, 18 Apr 2016 10:41:27 +0000 (13:41 +0300)
ws_main.py
wscript

index 5d9fd8c..849e68f 100644 (file)
@@ -375,6 +375,11 @@ def publish_ext(bld):
    os.system('rsync -avz -e "ssh -i %s" --rsync-path=/usr/bin/rsync %s %s@%s:%s/doc/' % (Env().get_trex_ex_web_key(),from_, Env().get_trex_ex_web_user(),Env().get_trex_ex_web_srv(),Env().get_trex_ex_web_path() ) )
    
 
+def publish_test(bld):
+    # copy all the files to our web server 
+    remote_dir = "%s:%s" % ( Env().get_local_web_server(), Env().get_remote_release_path ()+'../test/')
+    os.system('rsync -av --rsh=ssh build/ %s' % (remote_dir))
+
 
 
 
diff --git a/wscript b/wscript
index 2359786..f935668 100755 (executable)
--- a/wscript
+++ b/wscript
@@ -40,6 +40,9 @@ def release(bld):
 def publish(bld):
     ws_main.publish(bld)
 
+def publish_test(bld):
+    ws_main.publish_test(bld)
+
 def publish_ext(bld):
     ws_main.publish_ext(bld)