Git Product home page Git Product logo

Comments (6)

st0012 avatar st0012 commented on May 18, 2024

@adlerhsieh So where should we put current lib in the first place?

from goby.

adlerhsieh avatar adlerhsieh commented on May 18, 2024

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:

screen shot 2017-06-18 at 11 59 50 pm

We can discuss if this is a good idea.

from goby.

st0012 avatar st0012 commented on May 18, 2024

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

adlerhsieh avatar adlerhsieh commented on May 18, 2024

Yeap, just a matter of style. /usr/local/goby works as well. I'll just change that.

from goby.

st0012 avatar st0012 commented on May 18, 2024

@adlerhsieh Ok, thinks for helping this 😄

from goby.

adlerhsieh avatar adlerhsieh commented on May 18, 2024

This is done.

from goby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.