File: install

package info (click to toggle)
tools-build-clojure 0.10.6%2Bds-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 792 kB
  • sloc: xml: 113; javascript: 90; sh: 34; java: 12; makefile: 8
file content (28 lines) | stat: -rwxr-xr-x 516 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash

set -uexo pipefail

top="$(pwd)"

on-exit() { cd "$top"; rm -rf debian/tests/test-lib/tmp-m2; }
trap on-exit EXIT

cd debian/tests/test-lib

./build jar
find . | sort
jar tf target/test-lib-1.2.3.jar

mkdir -p target/xjar
cd target/xjar
jar xf ../../target/test-lib-1.2.3.jar
test -f META-INF/MANIFEST.MF
test -f test-lib.clj
test -f test-lib.edn
test -f META-INF/maven/debian/test-lib/pom.xml
test -f META-INF/maven/debian/test-lib/pom.properties
cd ../..

./build clean
find . | sort
test ! -e target