Skip to content

Commit

Permalink
fix name
Browse files Browse the repository at this point in the history
  • Loading branch information
braindigitalis committed Jul 12, 2023
1 parent 102bd13 commit 5497415
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions buildtools/emojis.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

echo "-- Autogenrating include/dpp/unicode_emoji.h\n";

$header = "#pragma once\n\nnamespace dpp { namespace unicode_emoji {\n";

$emojis = json_decode(file_get_contents("https://raw.githubusercontent.com/ArkinSolomon/discord-emoji-converter/master/emojis.json"));
Expand Down
2 changes: 1 addition & 1 deletion include/dpp/unicode_emoji.h
Original file line number Diff line number Diff line change
Expand Up @@ -5469,4 +5469,4 @@ namespace dpp { namespace unicode_emoji {
constexpr std::string bridge_at_night("🌉");
constexpr std::string foggy("🌁");
}
}
};
2 changes: 1 addition & 1 deletion library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ if (UNIX)
# target for unicode_emojis.h
execute_process(
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/.."
COMMAND php buildtools/emoji.php
COMMAND php buildtools/emojis.php
)
set_source_files_properties( "${CMAKE_CURRENT_SOURCE_DIR}/../include/dpp/unicode_emojis.h" PROPERTIES GENERATED TRUE )
else()
Expand Down

0 comments on commit 5497415

Please sign in to comment.