commit
2e479fa358
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
||||
# test-interface
|
||||
|
||||
#### Description
|
||||
Uniform interface to Scala and Java test frameworks.
|
||||
|
||||
#### Software Architecture
|
||||
Software architecture description
|
||||
|
||||
#### Installation
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Instructions
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Contribution
|
||||
|
||||
1. Fork the repository
|
||||
2. Create Feat_xxx branch
|
||||
3. Commit your code
|
||||
4. Create Pull Request
|
||||
|
||||
|
||||
#### Gitee Feature
|
||||
|
||||
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
|
||||
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
|
||||
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
||||
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
||||
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
||||
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
37
README.md
37
README.md
@ -1,37 +0,0 @@
|
||||
# test-interface
|
||||
|
||||
#### 介绍
|
||||
Uniform interface to Scala and Java test frameworks.
|
||||
|
||||
#### 软件架构
|
||||
软件架构说明
|
||||
|
||||
|
||||
#### 安装教程
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 使用说明
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 参与贡献
|
||||
|
||||
1. Fork 本仓库
|
||||
2. 新建 Feat_xxx 分支
|
||||
3. 提交代码
|
||||
4. 新建 Pull Request
|
||||
|
||||
|
||||
#### 码云特技
|
||||
|
||||
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
||||
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
|
||||
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
|
||||
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
|
||||
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
||||
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
50
test-interface-1.0.pom
Normal file
50
test-interface-1.0.pom
Normal file
@ -0,0 +1,50 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.scala-sbt</groupId>
|
||||
<artifactId>test-interface</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<description>Uniform test interface to Scala/Java test frameworks (specs, ScalaCheck, ScalaTest, JUnit and other)</description>
|
||||
<version>1.0</version>
|
||||
<name>test-interface</name>
|
||||
<organization>
|
||||
<name>org.scala-sbt</name>
|
||||
</organization>
|
||||
<url>http://www.scala-sbt.org</url>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>BSD</name>
|
||||
<url>https://github.com/sbt/test-interface/blob/master/LICENSE</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
<scm>
|
||||
<url>https://github.com/sbt/test-interface</url>
|
||||
</scm>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>harrah</id>
|
||||
<name>Mark Harrah</name>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>josh</id>
|
||||
<name>Josh Cough</name>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>bill</id>
|
||||
<name>Bill Venners</name>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>cheeseng</id>
|
||||
<name>Chua Chee Seng</name>
|
||||
</developer>
|
||||
</developers>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.scalatest</groupId>
|
||||
<artifactId>scalatest_2.10</artifactId>
|
||||
<version>2.0.M6-SNAP24</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
71
test-interface.spec
Normal file
71
test-interface.spec
Normal file
@ -0,0 +1,71 @@
|
||||
Name: test-interface
|
||||
Version: 1.0
|
||||
Release: 12
|
||||
Summary: Uniform interface to Scala and Java test frameworks
|
||||
License: BSD
|
||||
URL: https://github.com/sbt/test-interface
|
||||
Source0: https://github.com/sbt/test-interface/archive/v1.0.tar.gz
|
||||
Source1: http://mirrors.ibiblio.org/maven2/org/scala-sbt/%{name}/%{version}/%{name}-%{version}.pom
|
||||
BuildArch: noarch
|
||||
BuildRequires: java-devel javapackages-local
|
||||
Requires: javapackages-local
|
||||
|
||||
%description
|
||||
Uniform test interface to Scala/Java test frameworks (specs,ScalaCheck,
|
||||
ScalaTest, JUnit and other)
|
||||
|
||||
%package help
|
||||
Summary: Help documents for %{name}
|
||||
Provides: %{name}-javadoc = %{version}-%{release}
|
||||
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
||||
|
||||
%description help
|
||||
Help documents for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
%mvn_file org.scala-sbt:test-interface %{name}
|
||||
|
||||
cp -p %{SOURCE1} pom.xml
|
||||
%pom_remove_dep :scalatest_2.10
|
||||
|
||||
%build
|
||||
|
||||
mkdir -p classes target/api
|
||||
%javac -d classes $(find src/main/java -name "*.java")
|
||||
|
||||
(
|
||||
cd classes
|
||||
install -d META-INF
|
||||
cat > META-INF/MANIFEST.MF << 'EOF'
|
||||
Manifest-Version: 1.0
|
||||
Implementation-Vendor: org.scala-sbt
|
||||
Implementation-Title: %{name}
|
||||
Implementation-Version: %{version}
|
||||
Implementation-Vendor-Id: org.scala-sbt
|
||||
Specification-Vendor: org.scala-sbt
|
||||
Specification-Title: %{name}
|
||||
Specification-Version: %{version}
|
||||
EOF
|
||||
%jar -cMf ../target/%{name}.jar *
|
||||
)
|
||||
|
||||
%javadoc -d target/api -classpath $PWD/target/%{name}.jar $(find src/main/java -name "*.java")
|
||||
|
||||
cp pom.xml target/%{name}-%{version}.pom
|
||||
|
||||
%mvn_artifact target/%{name}-%{version}.pom target/%{name}.jar
|
||||
|
||||
%install
|
||||
|
||||
%mvn_install -J target/api
|
||||
|
||||
%files -f .mfiles
|
||||
%doc LICENSE README
|
||||
|
||||
%files help -f .mfiles-javadoc
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Sat Mar 07 2020 yanzhihua <yanzhihua4@huawei.com> - 1.0-12
|
||||
- Package init
|
||||
BIN
v1.0.tar.gz
Normal file
BIN
v1.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user