6 Star 0 Fork 2

src-openEuler/nodejs-assert-plus

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nodejs-assert-plus.spec 1.11 KB
一键复制 编辑 原始数据 按行查看 历史
root 提交于 5年前 . package init
Name: nodejs-assert-plus
Version: 1.0.0
Release: 1
Summary: Extra assertions on top of node's assert module
License: MIT
URL: https://github.com/mcavage/node-assert-plus
Source0: https://github.com/mcavage/node-assert-plus/archive/v%{version}.tar.gz#/nodejs-assert-plus-%{version}.tar.gz
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging npm(tape)
%description
This library is a super small wrapper over node's assert module that has two
things: (1) the ability to disable assertions with the environment variable
NODE_NDEBUG, and (2) some API wrappers for argument testing.
%prep
%setup -q -n node-assert-plus-%{version}
%build
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/assert-plus
cp -pr package.json assert.js %{buildroot}%{nodejs_sitelib}/assert-plus
%nodejs_symlink_deps
%check
%nodejs_symlink_deps --check
tape tests/*.js
%files
%{nodejs_sitelib}/assert-plus
%doc README.md
%changelog
* Mon Aug 17 2020 Shaoqiang Kang <kangshaoqiang1@huawei.com> - 1.0.0-1
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/nodejs-assert-plus.git
git@gitee.com:src-openeuler/nodejs-assert-plus.git
src-openeuler
nodejs-assert-plus
nodejs-assert-plus
openEuler-23.03

搜索帮助