build_tarball.sh 6.1 KB

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