Code Review
/
trex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
98af8f6
)
add test folder
author
Hanoh Haim
<
[email protected]
>
Mon, 18 Apr 2016 10:41:27 +0000
(13:41 +0300)
committer
Hanoh Haim
<
[email protected]
>
Mon, 18 Apr 2016 10:41:27 +0000
(13:41 +0300)
ws_main.py
patch
|
blob
|
history
wscript
patch
|
blob
|
history
diff --git
a/ws_main.py
b/ws_main.py
index
5d9fd8c
..
849e68f
100644
(file)
--- a/
ws_main.py
+++ b/
ws_main.py
@@
-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)