GithubHelp home page GithubHelp logo

Comments (5)

bunnymatic avatar bunnymatic commented on September 26, 2024

Sadly, I had all kinds of issues trying to get my machine to build the code and run the tests. I'd love to help try to make that run a bit smoother. And I suspect that moving things into src might help that out, but I don't want to make that mod unless you agree it would be helpful.

from cli.

kytrinyx avatar kytrinyx commented on September 26, 2024

Go projects are expected to be like this:

cd $GOPATH/src
tree  -L 3 .
.
└── github.com
    ├── codegangsta
    │   └── cli
    ├── exercism
    │   ├── cli
    │   └── xmetadata
    ├── howeyc
    │   └── fsnotify
    ├── kytrinyx
    │   ├── happimap
    ├── levicook
    │   └── glitch
    └── etc...

This is also where go get puts projects.

It's my understanding that if you want to integrate with other packages, then this is where the code goes -- if you're working on something standalone, then you can put it anywhere.

from cli.

bunnymatic avatar bunnymatic commented on September 26, 2024

ok. so when you work on exercism/cli, do you do something like

cd $GOPATH/src/github.com/exercism/cli
glitch

or

  cd $GOPATH/src/
  glitch

and if it's the second, then wouldn't that mean that any go project you work on will have source files sitting around at the $GOPATH/src directory?

from cli.

bunnymatic avatar bunnymatic commented on September 26, 2024

I may have figured out the issue. i was checking out the code to /src directly, not to src/exercism/cli/ which meant i had a bunch of garbage at the upper directory.

i get it now. closing this issue.

Once I know things are working, I might update the README a bit.

from cli.

kytrinyx avatar kytrinyx commented on September 26, 2024

Yeah, I do this:

cd $GOPATH/src/github.com/exercism/cli
glitch

All of my projects are in the full path (including github.com, where relevant)

from cli.

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.