Comments (6)
@adlerhsieh So where should we put current lib
in the first place?
from goby.
I think we don't need to move lib
directory for now.
After several tries I found it's more complicated than I thought to actually "find" and "copy" lib
directory in goby
executable. It will be even more complicated if we're supporting different ways to installation and platforms in the future.
However, I come up with another simpler solution. When doing brew install goby
, it will pop up an error message if $GOBY_ROOT
is not set. If it is set, lib
directory will be copied during installation. This ensures the variable is set when users run goby
.
Based on this approach, the formula would look like this. And an example screenshot would look like this:
We can discuss if this is a good idea.
from goby.
@adlerhsieh I think this is simple but enough to achieve our goal. Just one concern: should GOBY_ROOT be $HOME/goby
? I think it should be something like /usr/loca/goby/
.
from goby.
Yeap, just a matter of style. /usr/local/goby
works as well. I'll just change that.
from goby.
@adlerhsieh Ok, thinks for helping this 😄
from goby.
This is done.
from goby.
Related Issues (20)
- Provide a script to run a single test HOT 2
- Go🅱️y HOT 2
- Discord Server HOT 3
- Support "||"
- Document how to access Go objects from Goby directly HOT 1
- Support for Array.new with an argument HOT 2
- support define_method define_singleton_method
- Some feedback on documentation
- Test and simplify Goby's lib path assignment
- Panic when attempting to use `last()` on an empty array HOT 3
- How should I embed goby into my application HOT 7
- 增加UA自定义,不带特征值 HOT 1
- Add the user-defined UA, which can be changed by yourself HOT 1
- Migrate to GitHub Actions HOT 1
- 建议增加防apt检测 HOT 1
- https CURD ?
- Embedded use: Provide an object HOT 1
- 运行goby时报错 HOT 1
- Update the Goby Times with the following error HOT 1
- runtime error: invalid memory address ornil pointer dereference
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 goby.