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.
 
 
 
 
 
 

36 lines
829 B

  1. #!/usr/bin/env bash
  2. function cmd {
  3. pwd
  4. }
  5. submodules=( backend cli core cozy frontend nginx pure webextension native desktop snap cordova )
  6. #submodules=( cli core cozy frontend pure webextension native desktop cordova)
  7. #submodules=( cozy frontend webextension desktop cordova)
  8. for submodule in "${submodules[@]}"
  9. do
  10. cd $submodule
  11. cmd
  12. cd ..
  13. done
  14. #VERSION=
  15. #cd webextension
  16. #git archive -o webextension.zip master
  17. #mv webextension.zip /tmp
  18. #cd ../pure/
  19. #git archive -o pure.zip master
  20. #mv pure.zip /tmp
  21. #cd /tmp
  22. #mkdir LessPass
  23. #mv pure.zip LessPass/
  24. #mv webextension.zip LessPass/
  25. #cd LessPass/
  26. #unzip pure.zip -d pure
  27. #unzip webextension.zip -d webextension
  28. #rm pure.zip webextension.zip
  29. #zip -r LessPass-src-v$VERSION.zip pure webextension
  30. #mv LessPass-src-v$VERSION.zip ~/Desktop/
  31. #cd ~/Desktop/
  32. #rm -rf /tmp/LessPass