Skip to content

marvindx/flattener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

flattener

truffle-flattener 的精简版

  • 直接将flat之后的文件 放在full/文件夹下
  • 支持文件flat之后文件重命名
  • 去除多余的license注释

前提:

  • 项目根目录创建full/文件夹
  • clone 本仓库代码之后,执行yarn link flat
  • chmod +x flattener.js

用法:

$ flat contracts/Box.sol
output path:  /Users/marvin/contracts/upgradeContract/full/Box.sol
$ flat contracts/Box.sol BoxV2.sol
output path:  /Users/marvin/contracts/upgradeContract/full/BoxV2.sol

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published