JdbcMapper/presto-sqlparser/genPrestoPersonDAO.sh

6 lines
339 B
Bash
Raw Normal View History

2017-06-12 23:48:54 -04:00
#!/bin/bash
cd "$(dirname "$0")"
sed -e 's/PersonDAO extends Closeable/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