Giter Club home page Giter Club logo

Comments (2)

metakeule avatar metakeule commented on September 15, 2024

I would really help us if you could implement this.
Our setup is the following:

  • each project has one or more apps
  • each project has its own GOPATH

this is what the projects directory looks like

projects/
             project1/     // <- GOPATH and git repository
                           .gitignore  // contains bin, pkg, src/github.com, src/bitbucket.org
                           static/  // contains static files
                           pkg
                           bin
                           src/
                               GLOCKFILE // here please the glockfile
                                github.com
                                bitbucket.org
                                app1
                                app2

each project has a gosublime config that is setting up the GOPATH to the project directory and adds the bin subdir to the path.

(there is also a general GOPATH that is only used for library development, not using glock - its bin directory is also a part of $PATH for general commands)

It would be great if the above scenario would be supported (including the hook).

from glock.

robfig avatar robfig commented on September 15, 2024

Finally got around to doing this, with one difference from your description - the GLOCKFILE must still be present in a package , not at the root of src. Otherwise, there's no way to know which packages are the source to be managed (which determines the root of dependency determination). Your example should be able to work if you put app1 and app2 under a common company/ package, where the GLOCKFILE would go.

Please let me know if it works for you!

Thanks,
Rob

from glock.

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.