Skip to content

Commit

Permalink
NO-JIRA Update development scripts & documentation (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
7PH authored and mickael-caro-sonarsource committed Jun 13, 2023
1 parent 639e945 commit 47901f4
Show file tree
Hide file tree
Showing 4 changed files with 97 additions and 758 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,25 +34,25 @@ Developer documentation

### How to set the environment

* Install NPM (v8 or higher) / Node.js (v6 or higher)
* npm install -g tfx-cli
* npm run install-dep-full
* Install NPM (v8 or higher) / Node.js (v14 or higher)
* `npm install -g tfx-cli`
* `npm run install-dep-full`

### Package a production build

* npm run build
* `npm run build`

### Package a test build

* npm run test-build -- --publisher <publisher-id>
* `npm run test-build -- --publisher <publisher-id>`

### Run tests

* npm test
* `npm test`

License
-------

Copyright 2017-2020 SonarSource.
Copyright 2017-2023 SonarSource.

Licensed under the [GNU Lesser General Public License, Version 3.0](http://www.gnu.org/licenses/lgpl.txt))
Licensed under the [GNU Lesser General Public License, Version 3.0](http://www.gnu.org/licenses/lgpl.txt))
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ var cycloneDxPipe = (flavour, ...ps) => {
mergeFile.inputFiles = files.map(f => f.path)
return [mergeFile]
}))
.pipe(exec(file => `cyclonedx merge \
.pipe(exec(file => `npm run cyclonedx-run -- merge \
--hierarchical \
--name ${packageJSON.name}-${flavour} \
--version ${packageVersion} \
Expand Down
Loading

0 comments on commit 47901f4

Please sign in to comment.