JdbcMapper/presto-sqlparser/genPrestoPersonDAO.sh

6 lines
340 B
Bash
Executable File

#!/bin/bash
cd "$(dirname "$0")"
sed -e 's/PersonDAO extends JdbcMapper/PrestoPersonDAO extends PersonDAO/' -e 's@// , sqlParser = SimpleSQLParser.class@ , sqlParser = PrestoSQLParser.class@' ../jdbcmapper/src/test/java/com/moparisthebest/jdbc/codegen/PersonDAO.java > src/test/java/com/moparisthebest/jdbc/codegen/PrestoPersonDAO.java