mirror of
https://github.com/marcin-szczepanski/jFuzzyLogic.git
synced 2024-08-16 18:06:57 +02:00
18 lines
513 B
Bash
18 lines
513 B
Bash
![]() |
#!/bin/sh
|
||
|
|
||
|
OUTDIR="./output"
|
||
|
|
||
|
rm -vf ../src/net/sourceforge/jFuzzyLogic/fcl/FCLLexer.java \
|
||
|
../src/net/sourceforge/jFuzzyLogic/fcl/FCLLexerTokenTypes.java \
|
||
|
../src/net/sourceforge/jFuzzyLogic/fcl/FCLParser.java \
|
||
|
../src/net/sourceforge/jFuzzyLogic/fcl/FCLTreeParser.java
|
||
|
rm -rvf $OUTDIR
|
||
|
|
||
|
ANTLRJAR=`ls $PWD/../lib/antlr*.jar`
|
||
|
java -cp $ANTLRJAR org.antlr.Tool -o $OUTDIR Fcl.g
|
||
|
|
||
|
echo "Copying files"
|
||
|
cp $OUTDIR/FclLexer.java $OUTDIR/FclParser.java $OUTDIR/Fcl.tokens ../src/net/sourceforge/jFuzzyLogic/fcl
|
||
|
|
||
|
|