Comments (3)
Thanks @jkanczler, the missing path was the problem. Adding the path fixed it.
from cloc-vsts-extension.
The problem appears to be the name of the executable. Has this use case never been tested before? I certainly can't be the first person using this as a VSTS (azure devops) plugin in their build pipeline.
from cloc-vsts-extension.
It's working in our build pipeline.
This is what you're trying to achieve (arguments input):
--exclude-dir=.gitignore --exclude-ext=.md
The problem with this the --exclude-dir
option. The .gitignore
is a file. Maybe you wanted to use .git
as directory. The path to analyze input is missing too.
Example arguments input for a .NET application:
. --exclude-dir=bin,obj,packages,.vs,.git
As you can see it starts with a '.
'. Specifies that we would like to scan the actual folder.
The --exclude-dir
option excluding bin
, obj
, packages
, .vs
and .git
directories.
The pipeline logged the following:
2019-01-16T10:40:17.1370522Z Executing command: cloc.exe . --exclude-dir=bin,obj,packages,.vs,.git --sum-one --md --out cloc.result.md
2019-01-16T10:40:25.2618244Z 50 text files.
2019-01-16T10:40:25.2619113Z classified 50 files
2019-01-16T10:40:25.2619269Z 49 unique files.
2019-01-16T10:40:25.2619399Z 26 files ignored.
2019-01-16T10:40:25.2619557Z Wrote cloc.result.md
I suggest to run cloc.exe manually on your machine. Test what arguments are good for you, before configuring the build step.
from cloc-vsts-extension.
Related Issues (8)
- Request: It would be great to see loc over time
- Build failed with No agent found in pool DartPool which satisfies the specified demands: HOT 1
- TypeError: fs.copyFile is not a function HOT 5
- Will not install in VS 2017 V15.7.3 HOT 1
- The Name Contains Invalid Characters Error while uploading result file via cloc plugin in Azure DevOps
- Request: Please add an option for a title
- Git Link Changed HOT 1
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 cloc-vsts-extension.