JdbcMapper/presto-sqlparser/genPrestoPersonDAO.sh

6 lines
340 B
Bash
Raw Normal View History

2017-06-12 23:48:54 -04:00
#!/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
2017-06-12 23:48:54 -04:00