Dero Virtual Machine Light Version A standalone version of the Stargate Testnet DVM, working in a offline mode.
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 lines
903B

  1. #!/usr/bin/env bash
  2. CURDIR=`/bin/pwd`
  3. BASEDIR=$(dirname $0)
  4. ABSPATH=$(readlink -f $0)
  5. ABSDIR=$(dirname $ABSPATH)
  6. #unset GOPATH
  7. version=`cat ./VERSION`
  8. cd $CURDIR
  9. bash $ABSDIR/build_package.sh "git.dero.io/b9ron/dvml"
  10. mkdir -p "${ABSDIR}/build"
  11. cd "${ABSDIR}/build"
  12. #windows users require zip files
  13. #zip -r dvml_windows_amd64_$version.zip dvml_windows_amd64
  14. zip -r dvml_windows_amd64.zip dvml_windows_amd64
  15. zip -r dvml_windows_x86.zip dvml_windows_386
  16. zip -r dvml_windows_386.zip dvml_windows_386
  17. zip -r dvml_windows_amd64_$version.zip dvml_windows_amd64
  18. zip -r dvml_windows_x86_$version.zip dvml_windows_386
  19. zip -r dvml_windows_386_$version.zip dvml_windows_386
  20. #all other platforms are okay with tar.gz
  21. find . -mindepth 1 -type d -not -name '*windows*' -exec tar -cvzf {}.tar.gz {} \;
  22. find . -mindepth 1 -type d -not -name '*windows*' -exec tar -cvzf {}_$version.tar.gz {} \;
  23. cd $CURDIR