This repository has been archived by the owner on Mar 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a653f0
commit 3042529
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,28 @@ | ||
# NPM module to run SonarQube analyses | ||
|
||
Example on how to use it with Gulp: | ||
|
||
```javascript | ||
var gulp = require('gulp'); | ||
var sonarqubeScanner = require('sonarqube-scanner'); | ||
|
||
gulp.task('default', function() { | ||
sonarqubeScanner({ | ||
serverUrl : "http://localhost:9000", | ||
token : "019d1e2e04eefdcd0caee1468f39a45e69d33d3f", | ||
options : {} | ||
}); | ||
}); | ||
``` | ||
|
||
, with the following dependencies added to the `package.json` file: | ||
|
||
|
||
```javascript | ||
... | ||
"devDependencies": { | ||
"gulp": "^3.9.1", | ||
"sonarqube-scanner": "0.1.0" | ||
} | ||
... | ||
``` |