milis/talimatname/genel/j/junit/talimat

26 lines
958 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: JUnit paketi, tekrarlanabilir testler yazmak ve çalıştırmak için basit, açık kaynaklı bir çerçeve içerir.
# URL: http://junit.org/
# Paketçi: alihan-ozturk28@hotmail.com
# Gerekler: apache-ant unzip
# Grup: geliştirme
isim=junit
surum=4.12
devir=1
kaynak=(https://github.com/junit-team/junit4/releases/download/r4.12/junit-4.12.jar
https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/hamcrest/hamcrest-1.3.tgz)
derle() {
cd hamcrest-1.3
install -dm755 $PKG/usr/share/java/hamcrest
for j in core library generator integration; do
cp hamcrest-${j}-1.3.jar $PKG/usr/share/java/hamcrest/${j}-1.3.jar
ln -s ${j}-1.3.jar $PKG/usr/share/java/hamcrest/${j}.jar
ln -s hamcrest/${j}-1.3.jar $PKG/usr/share/java/hamcrest-${j}.jar
done
cd ..
install -D -m 644 $SRC/$isim-$surum.jar $PKG/usr/share/java/$isim-$surum.jar
ln -s $isim-$surum.jar $PKG/usr/share/java/$isim.jar
}