Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ plugins {
id 'jacoco'
id 'signing'
id 'java-library'
id 'java'
}

apply plugin: 'nebula-aggregate-javadocs'
Expand All @@ -43,8 +44,8 @@ apply plugin: 'nebula-aggregate-javadocs'
ext {
vertxVersion = "3.5.0"
rxjavaVersion = "2.1.7"
junitVersion = "5.4.0"
catbufferVersion = "0.1.2"
junitVersion = "5.9.0"
catbufferVersion = "0.1.3-SNAPSHOT"
restApiVersion = "1.0.0"
jackson_version = "2.9.9"
jackson_databind_version = "2.9.9"
Expand Down
19 changes: 19 additions & 0 deletions build_serializers.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

# deliberate order as generators seem to be using some ancient pyyaml

cd catbuffer-generators
pip install -r requirements.txt
cd ..

cd catbuffer-parser
pip install -r requirements.txt
cd ..

cd catbuffer-generators

PYTHONPATH=. python3 ../catbuffer-parser/main.py \
--schema ../catbuffer-schemas/schemas/all.cats \
--include ../catbuffer-schemas/schemas/ \
--generator java \
--copyright HEADER.inc
15 changes: 15 additions & 0 deletions catbuffer-generators/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
*~
*.pch
*.pyc
__pycache__/
.idea
.vscode/
.DS_Store
_generated/
.python-version
node_modules/
.gradle
build
.idea
/catbuffer-generators.iml
/build-old/
3 changes: 3 additions & 0 deletions catbuffer-generators/.gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "catbuffer"]
path = catbuffer
url = https://github.com/nemtech/catbuffer.git
2 changes: 2 additions & 0 deletions catbuffer-generators/.pycodestyle
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[pycodestyle]
max-line-length = 140
Loading