From 6940ddd85e1f00fad4b1e938e3d4e1bc8314ce9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Thu, 31 Mar 2022 20:21:32 -0700 Subject: [PATCH] Cleanup. --- README.md | 4 ++-- docs/overview.rst | 4 ++-- scripts/genie.lua | 5 +++++ 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7141b2e4a..35becb005 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,6 @@ Supported rendering backends: Supported platforms: * Android (14+, ARM, x86, MIPS) - * asm.js/Emscripten (1.25.0) * FreeBSD * iOS (iPhone, iPad, AppleTV) * Linux @@ -57,8 +56,9 @@ Supported platforms: * OSX (10.12+) * PlayStation 4 * RaspberryPi - * Windows (XP, Vista, 7, 8, 10) * UWP (Universal Windows, Xbox One) + * Wasm/Emscripten + * Windows (XP, Vista, 7, 8, 10) Supported compilers: diff --git a/docs/overview.rst b/docs/overview.rst index fc7f006a1..9bdb968a3 100644 --- a/docs/overview.rst +++ b/docs/overview.rst @@ -35,7 +35,6 @@ Supported Platforms ~~~~~~~~~~~~~~~~~~~ - Android (14+, ARM, x86, MIPS) -- asm.js/Emscripten (1.25.0) - FreeBSD - iOS (iPhone, iPad, AppleTV) - Linux @@ -43,8 +42,9 @@ Supported Platforms - OSX (10.12+) - PlayStation 4 - RaspberryPi -- Windows (XP, Vista, 7, 8, 10) - UWP (Universal Windows, Xbox One) +- Wasm/Emscripten +- Windows (XP, Vista, 7, 8, 10) Supported Compilers ~~~~~~~~~~~~~~~~~~~ diff --git a/scripts/genie.lua b/scripts/genie.lua index a4a5b669a..4a2d441c0 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -97,6 +97,11 @@ newaction { local f = io.popen("git rev-list --count HEAD") local rev = string.match(f:read("*a"), ".*%S") + + local codegen = require "codegen" + local idl = codegen.idl "bgfx.idl" + print("1." .. idl._version .. "." .. rev) + f:close() f = io.popen("git log --format=format:%H -1") local sha1 = f:read("*a")