Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-proto
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-proto
Commits
6ee5f7e8
Commit
6ee5f7e8
authored
1 month ago
by
Joscha Schmiedt
Browse files
Options
Downloads
Patches
Plain Diff
Add make src to quickly generate protobuf code
parent
550599e9
No related branches found
Branches containing commit
No related tags found
1 merge request
!12
Extend Upload API for resumable downloads
Pipeline
#61583
failed
1 month ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+11
-0
11 additions, 0 deletions
Makefile
README_SETUP.md
+5
-0
5 additions, 0 deletions
README_SETUP.md
with
16 additions
and
0 deletions
Makefile
+
11
−
0
View file @
6ee5f7e8
ALL
:
ALL
:
@
echo
"THIS IS ONLY FOR DEVELOPMENT. DON'T USE IT"
@
echo
"THIS IS ONLY FOR DEVELOPMENT. DON'T USE IT"
src
:
mkdir
-p
src/java
&&
\
mkdir
-p
src/python
&&
\
mkdir
-p
src/cpp
&&
\
mkdir
-p
src/js&&
\
protoc
-Iproto
--java_out
=
src/java
--python_out
=
src/python
--cpp_out
=
src/cpp
--js_out
=
src/js
$$(
find ./proto
-type
f
-iname
"*.proto"
)
clean
:
rm
-rf
src
.PHONY
:
clean src
formatting
:
formatting
:
clang-format
-i
$$(
find proto/
-type
f
-iname
"*.proto"
)
clang-format
-i
$$(
find proto/
-type
f
-iname
"*.proto"
)
...
...
This diff is collapsed.
Click to expand it.
README_SETUP.md
+
5
−
0
View file @
6ee5f7e8
...
@@ -17,6 +17,11 @@ contains all necessary configuration.
...
@@ -17,6 +17,11 @@ contains all necessary configuration.
We use
[
buf
](
https://docs.buf.build/
)
for linting. Run
`buf lint`
. The
We use
[
buf
](
https://docs.buf.build/
)
for linting. Run
`buf lint`
. The
`buf.yaml`
contains all necessary configuration.
`buf.yaml`
contains all necessary configuration.
## Source code generation
`make src`
generates the protobuf code for Java, C++, Python and JavaScript using
the locally installed
`protoc`
.
## Docs
## Docs
We use
[
cmake
](
https://cmake.org
)
as build tool for the documenation and
We use
[
cmake
](
https://cmake.org
)
as build tool for the documenation and
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment