Comments (3)
Yes, this is by design. You need to compile a list of project directories and feed it to GLD. E.g. try this:
find vendor/ -mindepth 2 -maxdepth 2|xargs license-detector
from go-license-detector.
Ok I will use some heuristics to find the project directories. Would it be possible to extend the tools scope to support vendor/modules etc recursively?
from go-license-detector.
I guess it will be possible by adding an extra command which runs those heuristics and outputs the list of probable project directories to stdout. GLD's algorithm is designed to be project-centric, that's the axis on which everything else is attached.
from go-license-detector.
Related Issues (20)
- Scan individual source code files
- Add comparison to few other tools for license detection HOT 1
- Using the API causes build issues due to mismatched arguments HOT 1
- Assign a maintainer HOT 1
- build issue HOT 2
- gomodules: impossible to build when depend on gopkg.in/src-d/go-license-detector.v2 HOT 4
- Build failure -- How to build? HOT 1
- Error when build project HOT 3
- Return matching license files HOT 1
- license for text HOT 7
- Issue with go mod HOT 1
- install failed go: error loading module requirements HOT 1
- Make fails HOT 3
- The binary tarballs are missing for linux and mac OSs
- Migrate repository to go-enry org HOT 3
- Unable to install v3.1.0 in Mac HOT 1
- gets stuck running the checker HOT 2
- go.sum is missing from the repository
- Maybe archive this repository?
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 go-license-detector.