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.
 
 
 
 
 
 

35 line
722 B

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