WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
61772
[Meta] WebKit should have a tool to manipulate project files
https://bugs.webkit.org/show_bug.cgi?id=61772
Summary
[Meta] WebKit should have a tool to manipulate project files
Roland Steiner
Reported
2011-05-31 01:53:57 PDT
I often wished there was a simple tool to automate adding, removing and renaming files, and that also correctly updates all project files along the way. So, in order to scratch that itch, I'd go ahead and implement said tool. Suggested syntax: Tools/Scripts/webkit-file add/rm/mv [options] file... At first I would limit webkit-file to adding files (and perhaps just files in Sources/WebCore), and gradually expand the tool. For example: webkit-file add -cpp -h Sources/WebCore/html/toaster/HTMLToasterElement would: .) if the files don't exist: add new files HTMLToasterElement.cpp and HTMLToasterElement.h to the Sources/WebCore/html/toaster, and add the default boiler plate content .) add this file to all relevant project files, <xyz>AllInOne.cpp, etc. .) if the 'toaster' directory is new: adds a new project group 'toaster' .) if in a git checkout: runs 'git add' for all affected files
Attachments
work-in-progress, all-in-one
(298.53 KB, patch)
2012-03-30 04:15 PDT
,
Roland Steiner
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Roland Steiner
Comment 1
2012-03-30 04:15:28 PDT
Created
attachment 134769
[details]
work-in-progress, all-in-one Uploading current work-in-progress state in one big all-in-one patch, as I'll be away from the project again for a while (and in case someone wants to hack on it). This contains everything the patches for the individual child-bugs contain as well, plus some initial code for Visual Studio projects.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug