Commit 8fda4765 authored by Fabrice Allain's avatar Fabrice Allain Committed by Fabrice ALLAIN
Browse files

feat: Automatic changelog

parent 5e554cf6
This diff is collapsed.
......@@ -8,7 +8,7 @@
This document describes how to set up your development environment to build, test and
explains the basic mechanics and conventions adopted since version 0.1.
## <a name="tests"> Running Tests
## <a name="tests"></a> Running Tests
### <a name="unit-tests"></a> Running the Unit Test Suite
......
......@@ -5,9 +5,8 @@ RUN yum install -y epel-release
RUN yum install -y python2-pip python-devel gcc make git
RUN curl --silent --location https://rpm.nodesource.com/setup_8.x | bash -; yum -y install nodejs
RUN npm install -g --save-dev @commitlint/{cli,config-conventional}
RUN npm install -g --save-dev @commitlint/{cli,config-conventional}; npm install -g conventional-changelog-cli
RUN echo "module.exports = {extends: ['@commitlint/config-conventional']};" > commitlint.config.js
RUN npx yarn add husky --dev
RUN pip install --upgrade pip ; pip install --upgrade setuptools; pip install sphinx; pip install numpy; pip install matplotlib; pip install coverage; pip install pytest; pip install pytest-cov
......@@ -17,3 +16,4 @@ RUN mkdir build-aria
ADD aria /build-aria/aria
ADD *.py PKG-INFO /build-aria/
RUN cd build-aria && pip install .; npm install --save-dev husky
RUN npx yarn add husky --dev
{
"name": "ariaec",
"version": "1.0.0",
"description": "===================================================== de Novo Ambiguous Restraints for Iterative Assignment =====================================================",
"main": "index.js",
"directories": {
"doc": "docs"
},
"scripts": {
"precommit": "conventional-changelog -r 0 -o CHANGELOG",
"test": "echo \"Error: no test specified\" && exit 1",
"commitmsg": "commitlint -e $GIT_PARAMS"
"commitmsg": "commitlint -e $GIT_PARAMS",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
},
"repository": {
"type": "git",
......@@ -19,7 +20,8 @@
"devDependencies": {
"@commitlint/cli": "^6.1.3",
"@commitlint/config-conventional": "^6.1.3",
"husky": "^0.14.3"
"husky": "^0.14.3",
"standard-version": "^4.3.0"
},
"dependencies": {}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment