File: build.sh

package info (click to toggle)
proguard 6.2.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 8,712 kB
  • sloc: java: 97,785; xml: 1,015; sh: 256; makefile: 91
file content (22 lines) | stat: -rwxr-xr-x 518 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
#!/bin/bash
#
# GNU/Linux build script for the ProGuard GUI.

cd $(dirname "$0")

source ../buildscripts/functions.sh

MAIN_CLASS=proguard.gui.ProGuardGUI

# Make sure ProGuard has been compiled.
if [[ ! -d ../core/$OUT || ! -f "$PROGUARD_JAR" ]]; then
  ../core/build.sh || exit 1
fi

# Make sure ReTrace has been compiled.
if [[ ! -d ../retrace/$OUT || ! -f "$RETRACE_JAR" ]]; then
  ../retrace/build.sh || exit 1
fi

compile   $MAIN_CLASS "../core/$OUT:../retrace/$OUT" && \
createjar "$PROGUARD_GUI_JAR" || exit 1