No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

checkout.sh 821B

1234567891011121314151617181920212223242526272829303132333435
  1. #!/bin/sh
  2. export CODE_BASE_DIR=/home/gaspard/Documents/git/code
  3. export CELLSIM_DIR=${CODE_BASE_DIR}/CellSim
  4. export VISIBILITY_DIR=${CODE_BASE_DIR}/Visibility.jl
  5. export JULIA_TOOLS_DIR=${CODE_BASE_DIR}/julia_tools
  6. if [ "$1" == "1.0" ];
  7. then
  8. echo Processing $CELLSIM_DIR
  9. cd $CELLSIM_DIR && git checkout julia1.0
  10. echo Processing $VISIBILITY_DIR
  11. cd $VISIBILITY_DIR && git checkout master
  12. echo Processing $JULIA_TOOLS_DIR
  13. cd $JULIA_TOOLS_DIR && git checkout master
  14. exit $?
  15. fi
  16. if [ "$1" == "0.6" ];
  17. then
  18. echo Processing $CELLSIM_DIR
  19. cd $CELLSIM_DIR && git checkout master
  20. echo Processing $VISIBILITY_DIR
  21. cd $VISIBILITY_DIR && git checkout julia0.6
  22. echo Processing $JULIA_TOOLS_DIR
  23. cd $JULIA_TOOLS_DIR && git checkout julia0.6
  24. else
  25. echo "Usage: $0 {0.6,1.0}$"
  26. fi