Skip to content

WIP Project! -- Cross-platform shared core for a Git-backed calendar.

License

Notifications You must be signed in to change notification settings

git-calendar/core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Calendar Core

Go Report Card

Related projects:

Building

For Android and IOS bindings, make sure to install gomobile:

go install golang.org/x/mobile/cmd/gomobile@latest

You can build for all platforms using:

make

or individually:

make [build_android|build_ios|build_web]

Testing Web/Wasm parts:

Install wasmbrowsertest:

go install github.com/agnivade/wasmbrowsertest@latest

Run tests like so:

GOOS=js GOARCH=wasm go test -exec $(go env GOPATH)/bin/wasmbrowsertest ./pkg/... ./cmd/wasm

Or, if you don't wanna specify the -exec:

  1. Rename the exacutable so that go test finds it automatically:
mv "$(go env GOPATH)/bin/wasmbrowsertest" "$(go env GOPATH)/bin/go_js_wasm_exec"
  1. And then run tests like you normally would:
GOOS=js GOARCH=wasm go test ./pkg/... ./cmd/wasm

About

WIP Project! -- Cross-platform shared core for a Git-backed calendar.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors