Skip to content

Commit

Permalink
Drop NPM commands from CI scripts after removin a2js
Browse files Browse the repository at this point in the history
  • Loading branch information
reznikmm committed Jun 27, 2021
1 parent da701dc commit 2964d92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
8 changes: 1 addition & 7 deletions matreshka/packages/copr/matreshka.spec
Original file line number Diff line number Diff line change
Expand Up @@ -460,13 +460,7 @@ make %{?_smp_mflags} GPRBUILD_FLAGS="%Gnatmake_optflags"
%check
## find libs without RPATH, Fedora specific
export LD_LIBRARY_PATH="%{buildroot}/%{_libdir}/:$LD_LIBRARY_PATH"
## To find installed nodejs modules by default
npm install requirejs
export NODE_PATH=$PWD/node_modules
# FIXME http://forge.ada-ru.org/matreshka/ticket/482#ticket
%ifnarch ppc64le
make %{?_smp_mflags} GNAT_OPTFLAGS="%{GNAT_optflags}" JS_BEAUTIFY=cat check
%endif
make %{?_smp_mflags} GNAT_OPTFLAGS="%{GNAT_optflags}" check
## Delete compiled python files
rm -f %{buildroot}/%{_datadir}/gdb/python/matreshka/matreshka.py?

Expand Down
8 changes: 1 addition & 7 deletions matreshka/packages/travis/matreshka.spec
Original file line number Diff line number Diff line change
Expand Up @@ -455,13 +455,7 @@ make %{?_smp_mflags} GPRBUILD_FLAGS="%Gnatmake_optflags"
%check
## find libs without RPATH, Fedora specific
export LD_LIBRARY_PATH="%{buildroot}/%{_libdir}/:$LD_LIBRARY_PATH"
## To find installed nodejs modules by default
npm install requirejs
export NODE_PATH=$PWD/node_modules
# FIXME http://forge.ada-ru.org/matreshka/ticket/482#ticket
%ifnarch ppc64le
make %{?_smp_mflags} GNAT_OPTFLAGS="%{GNAT_optflags}" JS_BEAUTIFY=cat check
%endif
make %{?_smp_mflags} GNAT_OPTFLAGS="%{GNAT_optflags}" check
## Delete compiled python files
rm -f %{buildroot}/%{_datadir}/gdb/python/matreshka/matreshka.py?

Expand Down

0 comments on commit 2964d92

Please sign in to comment.