This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| if [ "$#" -ne 1 ]; then | |
| echo "Usage: $0 jps-filter-grep-expr" | |
| exit 1 | |
| fi | |
| jps_filter=$1 | |
| # extract the PID of the java process |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| projects = {'ProjectA' : {'deps' : ['ProjectB']}, | |
| 'ProjectB' : {'deps' : None}, | |
| 'ProjectC' : {'deps' : ['ProjectA']}} | |
| cont = 0 | |
| def deploy(name, desc): | |
| """ | |
| Detects the order of deploy for projects in a dict. | |
| Each dic entry is the name of Projet : {desc}, where desc is a dict containing: |