mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-15 09:18:27 +00:00
build-web-examples.pl: Added a FIXME.
This commit is contained in:
parent
b736285053
commit
3bc2bd790c
1 changed files with 3 additions and 0 deletions
|
@ -168,6 +168,8 @@ sub handle_example_dir {
|
|||
sub handle_category_dir {
|
||||
my $category = shift;
|
||||
|
||||
# !!! FIXME: this needs to generate a preview page for all the examples things in the category.
|
||||
|
||||
print("Category $category ...\n");
|
||||
|
||||
do_mkdir("$output_dir/$category");
|
||||
|
@ -213,6 +215,7 @@ opendir(my $dh, $examples_dir) or die("Couldn't opendir '$examples_dir': $!\n");
|
|||
while (readdir($dh)) {
|
||||
next if ($_ eq '.') || ($_ eq '..'); # obviously skip current and parent entries.
|
||||
next if not -d "$examples_dir/$_"; # only care about subdirectories.
|
||||
# !!! FIXME: this needs to generate a preview page for all the categories.
|
||||
handle_category_dir($_);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue