1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-09 09:35:00 +09:00
Shared library for Anytype clients https://anytype.io
Find a file
Sergey Cherepanov 9f76089e78
merge lib models
2019-11-14 16:50:43 +03: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 merge lib models 2019-11-14 16:50:43 +03:00
dist remove lfs file 2019-10-03 17:59:46 +03:00
docs docs: add missed models proto 2019-11-13 22:51:05 +02:00
jsaddon linux build support 2019-10-25 14:39:24 +03:00
lib Merge branch 'proto-multipage' of github.com:anytypeio/go-anytype-middleware into rework-protos 2019-11-13 16:50:19 +02:00
pb Merge branch 'proto-multipage' of github.com:anytypeio/go-anytype-middleware into rework-protos 2019-11-13 16:50:19 +02:00
util/testMock merge lib models 2019-11-14 16:50:43 +03:00
.gitattributes lib.so moved to dist/ and updated 2019-09-26 22:56:33 +03:00
.gitignore merge lib models 2019-11-14 16:50:43 +03:00
go.mod merge lib models 2019-11-14 16:50:43 +03:00
go.sum merge lib models 2019-11-14 16:50:43 +03:00
Makefile docs: add missed models proto 2019-11-13 22:51:05 +02: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