karan / joe

:running: A .gitignore magician in your command line

Home Page:http://karan.github.io/joe/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I've created a recent fork of this project

dfernandezm opened this issue · comments

I found myself wanting to use the project and also learning Go and I decided this tool deserved a recent fork. I haven't checked all the forks, but the 8-10 I've seen are from 5-6 years ago.

I'll try and slowly backfill the open PRs and see about the issues, but my commitment is mostly few nights and weekend. I would really welcome any contributors and I'll commit to review and merge PRs as often as I can.

I've gotten the error bellow trying to build Joe, couldn't find a solution, updated joe's folder with your files from your fork and still the same problem, could you help me?

./tool.sh build
joe.go:5:3: no required module provides package github.com/codegangsta/cli: working directory is not part of a module
utils.go:5:2: no required module provides package github.com/termie/go-shutil: working directory is not part of a module
joe.go:5:3: no required module provides package github.com/codegangsta/cli: working directory is not part of a module
utils.go:5:2: no required module provides package github.com/termie/go-shutil: working directory is not part of a module
joe.go:5:3: no required module provides package github.com/codegangsta/cli: working directory is not part of a module
utils.go:5:2: no required module provides package github.com/termie/go-shutil: working directory is not part of a module
joe.go:5:3: no required module provides package github.com/codegangsta/cli: working directory is not part of a module
utils.go:5:2: no required module provides package github.com/termie/go-shutil: working directory is not part of a module
cmd/go: unsupported GOOS/GOARCH pair darwin/386
joe.go:5:3: no required module provides package github.com/codegangsta/cli: working directory is not part of a module
utils.go:5:2: no required module provides package github.com/termie/go-shutil: working directory is not part of a module
joe built

@ElyDantas the problem is that go doesn't know where to find the dependencies.
In order to fix this you would need to go get [package url] for each one.
However, if you do this you may find that github.com/codegangsta/cli declares its path as github.com/urfave/cli.
In which case you'll want to update the import names in the joe.go and tool.sh files.

here's a fork that patches this issue.
You only need to go install to get things running.