trustwallet-assets/script/erc20_to_checksum.ts
mykola.eth 440bc104de
Add daily update action and formatter (#1882)
* Run image compression on very push to master

* Add contract in lowercase for test

* Add daily updater

* Add formatter on every pull,push to branches

* Remove  dublicates

* Fix run syntax

* Fix syntax

* Run image compression only when push to master

* Run formater on all PR, exept master

* Add npm cache

* Add branches

* Try fix rename issue on ci

* Add trailing slash

* remove trailing

* Move uses in step

* remove dash from uses

* Run each npm run individually

* remove name

* remove checksum

* rename to jpg

* Add AMATEN (AMA) lowercase

* debug

* Run checksum after formating

* USet lates checkout and commit to branch innsted deatached head

* Checkout to branch in checkout

* Fix version

* Add formating

* Add formating

Co-authored-by: kolya182 <kolya182@users.noreply.github.com>
2020-04-16 19:27:40 -07:00

10 lines
346 B
TypeScript

import { ethSidechains, readDirSync, getChainAssetsPath } from "../src/test/helpers"
import { checksumAssetsFolder } from './format_files_name'
ethSidechains.forEach(chain => {
const chainAssetsPath = getChainAssetsPath(chain)
readDirSync(chainAssetsPath).forEach(addr => {
checksumAssetsFolder(chainAssetsPath, addr)
})
})