1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-09 17:44:59 +09:00
Shared library for Anytype clients https://anytype.io
Find a file
Roman Khafizianov c1c5d9df58
Merge pull request #27 from anytypeio/proto-fixes
#26 Proto: full message coverage with comments; proto fixes, scenarios
2019-11-13 12:37:38 +02:00
.circleci circleci: fix jsaddon compilation error 2019-10-31 12:34:42 +02:00
build .gitignore to the build repos added 2019-09-19 00:39:49 +03:00
core Fix test 2019-11-09 04:01:40 +01:00
dist remove lfs file 2019-10-03 17:59:46 +03:00
docs Block.create fix 2019-11-12 16:35:26 +01:00
jsaddon linux build support 2019-10-25 14:39:24 +03:00
lib Commands fixes 2019-11-09 03:46:57 +01:00
pb Block.create fix 2019-11-12 16:35:26 +01:00
.gitattributes lib.so moved to dist/ and updated 2019-09-26 22:56:33 +03:00
.gitignore grammarly/spell checker fixes 2019-10-29 16:42:43 +01:00
go.mod Fix: gogofaster 2019-11-06 19:57:44 +01:00
go.sum Fix: gogofaster 2019-11-06 19:57:44 +01:00
Makefile Fix: gogofaster 2019-11-06 19:57:44 +01:00
package.json refactor protobuf 2019-10-19 18:24:23 +03:00
README.md readme: make it clear how to rebuild proto files 2019-10-22 16:16:05 +03:00

Anytype Middleware Library

CircleCI

How to build

  1. Install Golang 1.12.* from here
  2. make setup to install deps
  3. make build-lib to build C(.so) library into dist folder
  4. make build-js to build NodeJS Addon into jsaddon/build
  5. npm install & npm build:ts to compile proto files for TS/JS to build/ts

Rebuild proto files

This repo uses custom protoc plugin located at anytypeio/protobuf/protoc-gen-gogo/gomobile. So make sure you have installed it:

make setup-protoc

Then you can easily regenerate proto files:

make protos

Run tests

GO test:

make test

NodeJS addon test:

cd jsaddon
npm run test