1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-10 01:51:07 +09:00
Shared library for Anytype clients https://anytype.io
Find a file
2019-11-01 01:03:49 +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 resolve conflicts 2019-10-31 21:18:53 +03:00
dist remove lfs file 2019-10-03 17:59:46 +03:00
docs userstory updated 2019-09-19 00:45:38 +03:00
jsaddon linux build support 2019-10-25 14:39:24 +03:00
lib merge 2019-10-29 14:51:04 +03:00
pb resolve conflicts 2019-10-31 21:18:53 +03:00
util/linkpreview linkpreview: parse content 2019-11-01 01:03:49 +03:00
.gitattributes lib.so moved to dist/ and updated 2019-09-26 22:56:33 +03:00
.gitignore first iteration 2019-09-19 13:17:19 +03:00
go.mod linkpreview: parse content 2019-11-01 01:03:49 +03:00
go.sum linkpreview: parse content 2019-11-01 01:03:49 +03:00
Makefile merge 2019-10-29 14:51:04 +03: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