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.

57 lines
1.1 KiB

  1. #!/usr/bin/env bash
  2. run() {
  3. go run "$@"
  4. if [ $? -ne 0 ]
  5. then
  6. exit 3
  7. fi
  8. }
  9. echo '###### service ####'
  10. run ./service/get.go
  11. echo '##### bucket ####'
  12. run ./bucket/delete.go
  13. run ./bucket/put.go
  14. run ./bucket/putACL.go
  15. run ./bucket/putCORS.go
  16. run ./bucket/putLifecycle.go
  17. run ./bucket/putTagging.go
  18. run ./bucket/get.go
  19. run ./bucket/getACL.go
  20. run ./bucket/getCORS.go
  21. run ./bucket/getLifecycle.go
  22. run ./bucket/getTagging.go
  23. run ./bucket/getLocation.go
  24. run ./bucket/head.go
  25. run ./bucket/listMultipartUploads.go
  26. run ./bucket/delete.go
  27. run ./bucket/deleteCORS.go
  28. run ./bucket/deleteLifecycle.go
  29. run ./bucket/deleteTagging.go
  30. echo '##### object ####'
  31. run ./bucket/putCORS.go
  32. run ./object/put.go
  33. run ./object/uploadFile.go
  34. run ./object/putACL.go
  35. run ./object/append.go
  36. run ./object/get.go
  37. run ./object/head.go
  38. run ./object/getAnonymous.go
  39. run ./object/getACL.go
  40. run ./object/listParts.go
  41. run ./object/options.go
  42. run ./object/initiateMultipartUpload.go
  43. run ./object/uploadPart.go
  44. run ./object/completeMultipartUpload.go
  45. run ./object/abortMultipartUpload.go
  46. run ./object/delete.go
  47. run ./object/deleteMultiple.go
  48. run ./object/copy.go