Skip to content

firu11/git-calendar-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 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 ./...

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 ./...

About

WIP project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published