mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-01 19:58:15 +00:00
feat: library definition for PlatformIO (#8261)
* feat: library definition for PlatformIO * Update library.json version with release.sh --------- Co-authored-by: Flávio Zanoni <flaviozg888@gmail.com>
This commit is contained in:
26
library.json
Normal file
26
library.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"_comment": "This file is used by PlatformIO to get the information it needs to use FlatBuffers as a dependency for a project.",
|
||||
"name": "flatbuffers",
|
||||
"version": "25.9.23",
|
||||
"description": "FlatBuffers is a cross platform serialization library architected for maximum memory efficiency",
|
||||
"keywords": "FlatBuffers, serialization",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/google/flatbuffers"
|
||||
},
|
||||
"authors": [
|
||||
{
|
||||
"name": "The FlatBuffers project",
|
||||
"maintainer": true
|
||||
}
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"frameworks": "*",
|
||||
"platforms": "*",
|
||||
"build": {
|
||||
"includeDir": "include",
|
||||
"srcFilter": "-<*>"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -74,6 +74,11 @@ sed -i \
|
||||
-e "s/\(\"version\": \).*/\1\"$version\",/" \
|
||||
package.json
|
||||
|
||||
echo "Updating library.json..."
|
||||
sed -i \
|
||||
-e "s/\(\"version\": \).*/\1\"$version\",/" \
|
||||
library.json
|
||||
|
||||
echo "Updating net/FlatBuffers/Google.FlatBuffers.csproj..."
|
||||
sed -i \
|
||||
-e "s/\(<PackageVersion>\).*\(<\/PackageVersion>\)/\1$version\2/" \
|
||||
|
||||
Reference in New Issue
Block a user