Comments (9)
all the tests for the repo pass on a mac btw.
export GOOS=darwin
make test
go test -p 1 ./...
? devt.de/krotik/ecal/cli [no test files]
ok devt.de/krotik/ecal/cli/tool 1.242s
ok devt.de/krotik/ecal/config 0.119s
ok devt.de/krotik/ecal/engine 0.148s
ok devt.de/krotik/ecal/engine/pool 0.166s
ok devt.de/krotik/ecal/engine/pubsub 0.121s
? devt.de/krotik/ecal/examples/plugin [no test files]
ok devt.de/krotik/ecal/interpreter 0.899s
ok devt.de/krotik/ecal/parser 0.198s
ok devt.de/krotik/ecal/scope 0.162s
ok devt.de/krotik/ecal/stdlib 0.210s
ok devt.de/krotik/ecal/stdlib/generate 2.085s
ok devt.de/krotik/ecal/util 0.177s
from ecal.
so the only reason the make file does not work on a mac is just the "export GOOS=darwin" at the top.
ecal git:(master) ✗ make build-mac
rm -f ecal
go mod init || true
go: /Users/apple/workspace/go/src/github.com/gerardwebb/research/blockchain/graphdb/krotik__ecal/ecal/go.mod already exists
go mod tidy
go generate devt.de/krotik/ecal/stdlib/generate
Generating ECAL stdlib from Go functions ...
Generating adapter functions for package math ("math")
gofmt -l -w -s .
stdlib/stdlib_gen.go
go vet ./...
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o ecal.mac cli/*.go
Should we change it to detect it at runtime ?
Also the the same with the eliasdb ?
from ecal.
this is really minor, so just close it if its not worth it
from ecal.
Hey, thanks for raising this! Yes, I would love to have proper Mac support. Unfortunately, I do not have a Mac so I can't really test or debug things. If you have an idea on how to fix this let me know (or raise a PR 😄 )
from ecal.
Actually everyone is working perfectly on mac
build, dist, examples. the whole lots.
dont change anything :)
from ecal.
I just had to do a "brew install coreutils" and link it and the sha256sum did its thing.
I like the setup !!
from ecal.
i think we can close this. If it aint broke dont fix it :)
from ecal.
Alright, I'll close it. Thanks for raising and investigating 🙏
from ecal.
Maybe add this to the README if you feel its worth it:
"
For mac users that want to run the make dist
### COREUTILS
#brew install coreutils
# need to add path to make it available
PATH="$(brew --prefix)/opt/coreutils/libexec/gnubin:$PATH"
"
from ecal.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ecal.