7

I can't find how to launch the ERC and DRC from the command line in Eagle. My hope is putting the command in a git pre-commit hook.

I'm perfectly ok with using a third party program or library if need be, but my google fu is not strong enough to find a useful tool.

nraynaud
  • 649
  • 6
  • 14

1 Answers1

3

I can execute commands from the cmd in windows when i browse to :[eagle-path]\bin. Tried with eagle 5 and 7.5. The command for ERC is eagle -C "erc;" [your schematic.sch]

When i remember correctly than -C is for command.

The help section found in the installation directory or in the gui is your friend here. You are searching for commando options.

Eggi
  • 334
  • 2
  • 14
  • Yes, but if I'm not wrong the command is eagle -C "drc". – Antonio Jul 28 '16 at 10:00
  • well, I had forgotten this question and found the answer a few weeks later. It must be noted that eagle is the shittiest command line program around, it will just open the GUI and show you the list, no way to export the list automatically. And the DRC only applies to the visible layers. – nraynaud Jul 28 '16 at 12:04