Hi all,

 

Is it possible to execute a shell command once the build was successful?

 

I would like to do something like this:

 

# Declare an executable called pik that embeds Python

lib pik : pik.cpp /python//python q ;

 

import testing ;

 

# Declare a test of the pik application

 

# I just want to run something like

# q test_pik.q

# q is a shell program

testing.run pik pik.cpp

  :                                                             # any ordinary arguments

  :                                                             # any arguments that should be treated as relative paths

  :                                                             # requirements

  : test_pik ;                                                         # name of test

 

 

Many thanks for any suggestions or help.

 

--
Kim Tang