build_tarball.sh 5.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. #!/bin/sh
  2. # Builds project release.
  3. #
  4. cd ../..
  5. NAME=simpletest_`cat simpletest/VERSION`.tar.gz
  6. FILES=(simpletest/README \
  7. simpletest/VERSION \
  8. simpletest/LICENSE \
  9. simpletest/HELP_MY_TESTS_DONT_WORK_ANYMORE \
  10. simpletest/authentication.php \
  11. simpletest/autorun.php \
  12. simpletest/browser.php \
  13. simpletest/collector.php \
  14. simpletest/compatibility.php \
  15. simpletest/cookies.php \
  16. simpletest/default_reporter.php \
  17. simpletest/detached.php \
  18. simpletest/dumper.php \
  19. simpletest/eclipse.php \
  20. simpletest/encoding.php \
  21. simpletest/errors.php \
  22. simpletest/exceptions.php \
  23. simpletest/expectation.php \
  24. simpletest/form.php \
  25. simpletest/frames.php \
  26. simpletest/http.php \
  27. simpletest/invoker.php \
  28. simpletest/mock_objects.php \
  29. simpletest/page.php \
  30. simpletest/parser.php \
  31. simpletest/reflection_php4.php \
  32. simpletest/reflection_php5.php \
  33. simpletest/remote.php \
  34. simpletest/reporter.php \
  35. simpletest/scorer.php \
  36. simpletest/selector.php \
  37. simpletest/shell_tester.php \
  38. simpletest/simpletest.php \
  39. simpletest/socket.php \
  40. simpletest/tag.php \
  41. simpletest/test_case.php \
  42. simpletest/unit_tester.php \
  43. simpletest/url.php \
  44. simpletest/user_agent.php \
  45. simpletest/web_tester.php \
  46. simpletest/xml.php \
  47. simpletest/extensions/pear_test_case.php \
  48. simpletest/extensions/phpunit_test_case.php \
  49. simpletest/extensions/testdox.php \
  50. simpletest/extensions/testdox/test.php \
  51. simpletest/test/acceptance_test.php \
  52. simpletest/test/adapter_test.php \
  53. simpletest/test/all_tests.php \
  54. simpletest/test/authentication_test.php \
  55. simpletest/test/bad_test_suite.php \
  56. simpletest/test/browser_test.php \
  57. simpletest/test/collector_test.php \
  58. simpletest/test/command_line_test.php \
  59. simpletest/test/compatibility_test.php \
  60. simpletest/test/cookies_test.php \
  61. simpletest/test/detached_test.php \
  62. simpletest/test/dumper_test.php \
  63. simpletest/test/eclipse_test.php \
  64. simpletest/test/encoding_test.php \
  65. simpletest/test/errors_test.php \
  66. simpletest/test/exceptions_test.php \
  67. simpletest/test/expectation_test.php \
  68. simpletest/test/form_test.php \
  69. simpletest/test/frames_test.php \
  70. simpletest/test/http_test.php \
  71. simpletest/test/interfaces_test.php \
  72. simpletest/test/live_test.php \
  73. simpletest/test/mock_objects_test.php \
  74. simpletest/test/page_test.php \
  75. simpletest/test/parse_error_test.php \
  76. simpletest/test/parser_test.php \
  77. simpletest/test/reflection_php4_test.php \
  78. simpletest/test/reflection_php5_test.php \
  79. simpletest/test/remote_test.php \
  80. simpletest/test/shell_test.php \
  81. simpletest/test/shell_tester_test.php \
  82. simpletest/test/simpletest_test.php \
  83. simpletest/test/socket_test.php \
  84. simpletest/test/tag_test.php \
  85. simpletest/test/test_with_parse_error.php \
  86. simpletest/test/unit_tests.php \
  87. simpletest/test/unit_tester_test.php \
  88. simpletest/test/autorun_test.php \
  89. simpletest/test/url_test.php \
  90. simpletest/test/user_agent_test.php \
  91. simpletest/test/visual_test.php \
  92. simpletest/test/web_tester_test.php \
  93. simpletest/test/xml_test.php \
  94. simpletest/test/support/collector/collectable.1 \
  95. simpletest/test/support/collector/collectable.2 \
  96. simpletest/test/support/upload_sample.txt \
  97. simpletest/test/support/supplementary_upload_sample.txt \
  98. simpletest/test/support/latin1_sample \
  99. simpletest/test/support/spl_examples.php \
  100. simpletest/test/support/empty_test_file.php \
  101. simpletest/test/support/test1.php \
  102. simpletest/docs/en/docs.css \
  103. simpletest/docs/en/index.html \
  104. simpletest/docs/en/overview.html \
  105. simpletest/docs/en/unit_test_documentation.html \
  106. simpletest/docs/en/group_test_documentation.html \
  107. simpletest/docs/en/mock_objects_documentation.html \
  108. simpletest/docs/en/partial_mocks_documentation.html \
  109. simpletest/docs/en/reporter_documentation.html \
  110. simpletest/docs/en/expectation_documentation.html \
  111. simpletest/docs/en/web_tester_documentation.html \
  112. simpletest/docs/en/form_testing_documentation.html \
  113. simpletest/docs/en/authentication_documentation.html \
  114. simpletest/docs/en/browser_documentation.html \
  115. simpletest/docs/fr/docs.css \
  116. simpletest/docs/fr/index.html \
  117. simpletest/docs/fr/overview.html \
  118. simpletest/docs/fr/unit_test_documentation.html \
  119. simpletest/docs/fr/group_test_documentation.html \
  120. simpletest/docs/fr/server_stubs_documentation.html \
  121. simpletest/docs/fr/mock_objects_documentation.html \
  122. simpletest/docs/fr/partial_mocks_documentation.html \
  123. simpletest/docs/fr/reporter_documentation.html \
  124. simpletest/docs/fr/expectation_documentation.html \
  125. simpletest/docs/fr/web_tester_documentation.html \
  126. simpletest/docs/fr/form_testing_documentation.html \
  127. simpletest/docs/fr/authentication_documentation.html \
  128. simpletest/docs/fr/browser_documentation.html)
  129. tar -zcf $NAME ${FILES[*]}