You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
waf_old/playground/eclipse/java/animals/wscript

29 lines
518 B
Python

#! /usr/bin/env python
def build(bld):
t = bld(
features = 'javac jar',
name = 'animals',
# javac
srcdir = 'src',
compat = '1.7',
# jar
basedir = '.',
destfile = '../animals.jar',
manifest = 'manifest',
use = 'NNN',
)
t.env.JAVACFLAGS = ['-Xlint:unchecked']
if bld.env.DO_JUNIT:
t.features += ' junit'
t.srcdir = 'src junit'
t.junitsrc = 'junit'
t.junitclasspath = '.'
t.use += ' JUNIT'
t.env.JUNIT_EXEC_FLAGS = ['-ea']