File: run-build-tests

package info (click to toggle)
data-generators-clojure 1.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 164 kB
  • sloc: xml: 22; sh: 20; makefile: 14
file content (11 lines) | stat: -rwxr-xr-x 356 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -efu

CLASSPATH=/usr/share/java/clojure.jar:src/main/clojure:src/test/clojure:src/example/clojure

clojure \
    -cp $CLASSPATH \
    -e "(require '[clojure.test])" \
    -e "(require '[clojure.data.generators-test])" \
    -e "(System/exit (if (clojure.test/successful? (clojure.test/run-tests
        'clojure.data.generators-test)) 0 1))"