Comments (5)
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.
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.
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.
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.
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)
- `exercism configure --workspace=D:` panics HOT 2
- FR: Run analyzer locally before submitting
- Fetch next exercise HOT 7
- Token is invalid error. Tried multiple ones HOT 4
- Is the file size restriction still correct? HOT 1
- feature request: `exercism download` should warn the user if a newer version is available
- FR: add go install as install method
- Broken links in CLI repo's contributing guide HOT 2
- Discussion: Deliver VSCode devcontainer with Exercises HOT 2
- help text for submit
- `exercism open` should open the exercise in the browser when in exercise folder.
- Wrong URL for fetching user token. HOT 1
- Delivery Option: container.dev features. HOT 1
- [feature] support local configuration HOT 1
- Add support for retrieving API token from secure storage (read from env var?) HOT 7
- Release 3.1.0 does not include shell completions HOT 1
- Setup goreleaser to update homebrew HOT 6
- Automate releases HOT 7
- Build the cli ? HOT 1
- Is that ok to ignore the workplace case sensitive on macOS HOT 2
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 cli.