copy artifacts should not use python path anymore (#2070)
This commit is contained in:
parent
a8128c5772
commit
29d5db16c2
@ -48,13 +48,7 @@ if (allArtifactPaths.length < pkgNames.length) {
|
||||
for (const _path of allArtifactPaths) {
|
||||
const fileName = _path.split('/').slice(-1)[0];
|
||||
const targetPath = path.join(__dirname, '../../artifacts', fileName);
|
||||
const targetPathPython = path.join(
|
||||
MONOREPO_ROOT,
|
||||
'python-packages/contract_artifacts/src/zero_ex/contract_artifacts/artifacts',
|
||||
fileName,
|
||||
);
|
||||
fs.copyFileSync(_path, targetPath);
|
||||
fs.copyFileSync(_path, targetPathPython);
|
||||
logUtils.log(`Copied ${_path}`);
|
||||
}
|
||||
logUtils.log(`Finished copying contract-artifacts. Remember to transform artifacts before publishing or using abi-gen`);
|
||||
|
Loading…
x
Reference in New Issue
Block a user