| index 62017d7..800ccac 100644 | ||
| --- a/Makefile | ||
| +++ b/Makefile | ||
| @@ -25,8 +25,8 @@ | ||
| 25 | 25 | |
| 26 | 26 | CC ?= cc |
| 27 | 27 | CFLAGS ?= -O2 -std=c99 -Wall -Wextra -pedantic -Wno-overlength-strings |
| 28 | -CPPFLAGS = -I src -I vendor -I vendor/yyjson | |
| 29 | -SRCS = src/plugin_time.c src/timeutil.c src/tz.c vendor/yyjson/yyjson.c | |
| 28 | +CPPFLAGS = -I src -I vendor | |
| 29 | +SRCS = src/plugin_time.c src/timeutil.c src/tz.c vendor/yyjson.c | |
| 30 | 30 | HDRS = src/plugintime.h src/tz.h src/tzdata.h src/ui_html.h src/bot_theme_plugin.h |
| 31 | 31 | |
| 32 | 32 | MUSL_CC ?= musl-gcc |
| 1 | 1 | new file mode 100644 |
| index 0000000..d1ee097 | ||
| --- /dev/null | ||
| +++ b/vendor/yyjson-LICENSE.txt | ||
| @@ -0,0 +1,21 @@ | ||
| 1 | +MIT License | |
| 2 | + | |
| 3 | +Copyright (c) 2020 YaoYuan <ibireme@gmail.com> | |
| 4 | + | |
| 5 | +Permission is hereby granted, free of charge, to any person obtaining a copy | |
| 6 | +of this software and associated documentation files (the "Software"), to deal | |
| 7 | +in the Software without restriction, including without limitation the rights | |
| 8 | +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| 9 | +copies of the Software, and to permit persons to whom the Software is | |
| 10 | +furnished to do so, subject to the following conditions: | |
| 11 | + | |
| 12 | +The above copyright notice and this permission notice shall be included in all | |
| 13 | +copies or substantial portions of the Software. | |
| 14 | + | |
| 15 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 16 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 17 | +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
| 18 | +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 19 | +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
| 20 | +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
| 21 | +SOFTWARE. |
| 1 | 1 | similarity index 100% |
| 2 | 2 | rename from vendor/yyjson/yyjson.c |
| 3 | 3 | rename to vendor/yyjson.c |
| 1 | 1 | similarity index 100% |
| 2 | 2 | rename from vendor/yyjson/yyjson.h |
| 3 | 3 | rename to vendor/yyjson.h |
| 4 | 4 |
| index 62017d7..800ccac 100644 | index 62017d7..800ccac 100644 | ||
| --- a/Makefile | --- a/Makefile | ||
| +++ b/Makefile | +++ b/Makefile | ||
| @@ -25,8 +25,8 @@ | @@ -25,8 +25,8 @@ | ||
| 25 | 25 | ||
| 26 | CC ?= cc | 26 | CC ?= cc |
| 27 | CFLAGS ?= -O2 -std=c99 -Wall -Wextra -pedantic -Wno-overlength-strings | 27 | CFLAGS ?= -O2 -std=c99 -Wall -Wextra -pedantic -Wno-overlength-strings |
| 28 | -CPPFLAGS = -I src -I vendor -I vendor/yyjson | 28 | +CPPFLAGS = -I src -I vendor |
| 29 | -SRCS = src/plugin_time.c src/timeutil.c src/tz.c vendor/yyjson/yyjson.c | 29 | +SRCS = src/plugin_time.c src/timeutil.c src/tz.c vendor/yyjson.c |
| 30 | HDRS = src/plugintime.h src/tz.h src/tzdata.h src/ui_html.h src/bot_theme_plugin.h | 30 | HDRS = src/plugintime.h src/tz.h src/tzdata.h src/ui_html.h src/bot_theme_plugin.h |
| 31 | 31 | ||
| 32 | MUSL_CC ?= musl-gcc | 32 | MUSL_CC ?= musl-gcc |
| 1 | new file mode 100644 | 1 | new file mode 100644 |
| index 0000000..d1ee097 | index 0000000..d1ee097 | ||
| --- /dev/null | --- /dev/null | ||
| +++ b/vendor/yyjson-LICENSE.txt | +++ b/vendor/yyjson-LICENSE.txt | ||
| @@ -0,0 +1,21 @@ | @@ -0,0 +1,21 @@ | ||
| 1 | +MIT License | ||
| 2 | + | ||
| 3 | +Copyright (c) 2020 YaoYuan <ibireme@gmail.com> | ||
| 4 | + | ||
| 5 | +Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| 6 | +of this software and associated documentation files (the "Software"), to deal | ||
| 7 | +in the Software without restriction, including without limitation the rights | ||
| 8 | +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| 9 | +copies of the Software, and to permit persons to whom the Software is | ||
| 10 | +furnished to do so, subject to the following conditions: | ||
| 11 | + | ||
| 12 | +The above copyright notice and this permission notice shall be included in all | ||
| 13 | +copies or substantial portions of the Software. | ||
| 14 | + | ||
| 15 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| 16 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| 17 | +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| 18 | +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| 19 | +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| 20 | +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| 21 | +SOFTWARE. |
| 1 | similarity index 100% | 1 | similarity index 100% |
| 2 | rename from vendor/yyjson/yyjson.c | 2 | rename from vendor/yyjson/yyjson.c |
| 3 | rename to vendor/yyjson.c | 3 | rename to vendor/yyjson.c |
| 1 | similarity index 100% | 1 | similarity index 100% |
| 2 | rename from vendor/yyjson/yyjson.h | 2 | rename from vendor/yyjson/yyjson.h |
| 3 | rename to vendor/yyjson.h | 3 | rename to vendor/yyjson.h |
| 4 | 4 |