Commit 934a4499 authored by Fabrice Allain's avatar Fabrice Allain Committed by Fabrice ALLAIN
Browse files

fix: wrong installation order in dockerfile for husky npm module

parent df35ed86
......@@ -7,7 +7,6 @@ RUN curl --silent --location | bash -; yum
RUN npm install -g --save-dev @commitlint/{cli,config-conventional}
RUN echo "module.exports = {extends: ['@commitlint/config-conventional']};" > commitlint.config.js
RUN npm install --save-dev -g husky
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,4 +16,4 @@ RUN wget; tar xvzf a
RUN mkdir build-aria
ADD aria /build-aria/aria
ADD *.py PKG-INFO /build-aria/
RUN cd build-aria && pip install .
\ No newline at end of file
RUN cd build-aria && pip install .; npm install --save-dev husky
......@@ -7,8 +7,6 @@
"doc": "docs"
"scripts": {
"precommit": "npm test",
"prepush": "npm test",
"test": "echo \"Error: no test specified\" && exit 1",
"commitmsg": "commitlint -e $GIT_PARAMS"
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