Environment
Dependecies:
Truffle v5.1.45 - a development framework for Ethereum
Oz version:
2.8.2
Details
I am trying to get truffle compile to actually run the command oz compile --optimizer on so that truffle uses the oz compiler. However, I don’t want to just alias it in my terminal. I am trying to figure out how to do this with the compiler object in truffle. Any help would be appreciated.
Code to reproduce
Current truffle compiler config:
compilers: {
external: {
command: "oz compile --optimizer on",
targets: [{
"path": "./build/artifacts/*.json"
}],
},
}
And it doesn’t use the oz compiler when I run the compile command