[webkit-reviews] review requested: [Bug 42601] Web Inspector: Do Not Copy *.re2js Inspector Resources in XCode Build Phase : [Attachment 62006] [PATCH] Remove *.re2js in "Copy Inspector Resources" Build Phase

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 19 15:39:43 PDT 2010


Joseph Pecoraro <joepeck at webkit.org> has asked	for review:
Bug 42601: Web Inspector: Do Not Copy *.re2js Inspector Resources in XCode
Build Phase
https://bugs.webkit.org/show_bug.cgi?id=42601

Attachment 62006: [PATCH] Remove *.re2js in "Copy Inspector Resources" Build
Phase
https://bugs.webkit.org/attachment.cgi?id=62006&action=review

------- Additional Comments from Joseph Pecoraro <joepeck at webkit.org>
This adds the following two lines to the Build Phase:

    # Remove *.re2js files, they are only used to generate some .js files.
    rm -f
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/inspector/"*.re2js

Note that `*` does not work inside a string, so I tack it on the end. Its
acceptable to use different quoting techniques in the shell, hence the trick.

  shell> echo "a"'b'c
  abc

If there is an easier way, let me know!


More information about the webkit-reviews mailing list