diff options
-rw-r--r-- | ws_main.py | 5 | ||||
-rwxr-xr-x | wscript | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -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)) + @@ -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) |