From 42515cfd3345048feba22bd5cf395ede17c6dd22 Mon Sep 17 00:00:00 2001 From: Kamil Rojewski Date: Mon, 6 Aug 2018 21:45:35 +0200 Subject: [PATCH] Publishing flatc with conan (#4852) * Eclipse ignore * TypeScript support * Prefixing enums * Test results * Merged JS and TS generators * Fixed AppVeyor build problems * Fixed more AppVeyor build problems * Fixed more AppVeyor build problems * Changed TS flag to options struct * Storing options by value * Removed unneeded const * Re-export support for unions * Uint support * Casting bools to numbers for mutation * TS shell tests * Reverted generates js test file to original version * Backing up js tests and properly generating test data * Not importing flatbuffers for TS test generation * Not overwriting generated js for tests * AppVeyor test fixes * Generating the most strict TS code possible * Not returning null when creating vectors * Not returning null from struct contructors * Vector of unions for ts/js * Sanity check for languages * Indentation fix + output test files * Vectors of unions for php * Fixes to union vector handling + tests * Fix for strictPropertyInitialization * Fix for new aligned operator new for gcc >= 7.1 * Not generating imports/ns prefixes with --gen-all * TypeScript docs * Missing imports of enums * Missing TS links * Enabled vector of unions for java, since it seems to work * Added jitpack config * Added obj to vector of unions getter * Removed unneeded accessor * Bumped jdk version in pom.xml * Vector of unions support for c# * Missing TypeScript doc processing * Option to NOT force libc++ when building with clang * Publishing flatc with conan --- conanfile.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conanfile.py b/conanfile.py index c7b2841..ee54bd1 100644 --- a/conanfile.py +++ b/conanfile.py @@ -45,9 +45,11 @@ class FlatbuffersConan(ConanFile): """ self.copy(pattern="LICENSE.txt", dst="licenses") self.copy(pattern="flathash*", dst="bin", src="bin") + self.copy(pattern="flatc*", dst="bin", src="bin") def package_info(self): """Collect built libraries names and solve flatc path. """ self.cpp_info.libs = tools.collect_libs(self) self.env_info.PATH.append(os.path.join(self.package_folder, "bin")) + self.user_info.flatc = os.path.join(self.package_folder, "bin", "flatc") -- 2.7.4