copy artifacts should not use python path anymore (#2070)

This commit is contained in:
Xianny 2019-08-15 09:50:11 -07:00 committed by GitHub
parent a8128c5772
commit 29d5db16c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`);