Dero Web Wallet derosuite. This repo contains changes required for webwallet. With this changes any Dero daemon can become web wallet. All changes are related to daemon rpc server and wallet to make it light and faster.
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
1.2KB

  1. #!/usr/bin/env bash
  2. CURDIR=`/bin/pwd`
  3. BASEDIR=$(dirname $0)
  4. ABSPATH=$(readlink -f $0)
  5. ABSDIR=$(dirname $ABSPATH)
  6. cd $ABSDIR/../../../../
  7. GOPATH=`pwd`
  8. version=`cat src/github.com/deroproject/derosuite/config/version.go | grep -i version |cut -d\" -f 2`
  9. cd $CURDIR
  10. bash $ABSDIR/build_package.sh "github.com/deroproject/derosuite/cmd/derod"
  11. bash $ABSDIR/build_package.sh "github.com/deroproject/derosuite/cmd/explorer"
  12. bash $ABSDIR/build_package.sh "github.com/deroproject/derosuite/cmd/dero-wallet-cli"
  13. cd "${ABSDIR}/build"
  14. #windows users require zip files
  15. #zip -r dero_windows_amd64_$version.zip dero_windows_amd64
  16. zip -r dero_windows_amd64.zip dero_windows_amd64
  17. zip -r dero_windows_x86.zip dero_windows_386
  18. zip -r dero_windows_386.zip dero_windows_386
  19. zip -r dero_windows_amd64_$version.zip dero_windows_amd64
  20. zip -r dero_windows_x86_$version.zip dero_windows_386
  21. zip -r dero_windows_386_$version.zip dero_windows_386
  22. #all other platforms are okay with tar.gz
  23. find . -mindepth 1 -type d -not -name '*windows*' -exec tar --owner=captain --group=captain -cvzf {}.tar.gz {} \;
  24. find . -mindepth 1 -type d -not -name '*windows*' -exec tar --owner=captain --group=captain -cvzf {}_$version.tar.gz {} \;
  25. cd $CURDIR