!1 package init

Merge pull request !1 from jackie_wu123/master
This commit is contained in:
openeuler-ci-bot 2020-08-24 17:21:00 +08:00 committed by Gitee
commit c3e0568791
3 changed files with 36 additions and 0 deletions

BIN
bunker-0.1.2.tgz Normal file

Binary file not shown.

32
nodejs-bunker.spec Normal file
View File

@ -0,0 +1,32 @@
%{?nodejs_find_provides_and_requires}
Name: nodejs-bunker
Version: 0.1.2
Release: 1
Summary: Code coverage in native JavaScript
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
License: MIT
URL: https://github.com/substack/node-bunker
Source0: http://registry.npmjs.org/bunker/-/bunker-%{version}.tgz
BuildRequires: nodejs-packaging
%description
Bunker is a module to calculate code coverage written in native JavaScript.
It uses AST trickery with the help of the nodejs-burrito package.
%prep
%setup -q -n package
%build
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/bunker
cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/bunker
%nodejs_symlink_deps
%files
%{nodejs_sitelib}/bunker
%doc README.markdown example
%changelog
* Mon Aug 10 2020 wutao <wutao61@huawei.com> - 0.1.2-1
- package init

4
nodejs-bunker.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: substack/node-bunker
tag_prefix: "^"
seperator: "."