refactor mercury init to share across targets

0 jobs