From f21a775b2935fdd8a8481b2913d5b0cbf67218cd Mon Sep 17 00:00:00 2001 From: Bjerg Date: Mon, 18 Apr 2022 21:39:38 +0200 Subject: [PATCH] style: branding (#1357) * style: add logo to readme * chore: move template assets to cli crate --- {assets => .github}/compilation-benchmark.png | Bin {assets => .github}/demo.gif | Bin .github/logo.png | Bin 0 -> 14491 bytes README.md | 8 +++++--- {assets => cli/assets}/.gitignoreTemplate | 0 {assets => cli/assets}/ContractTemplate.sol | 0 {assets => cli/assets}/ContractTemplate.t.sol | 0 {assets => cli/assets}/workflowTemplate.yml | 0 cli/src/cmd/forge/init.rs | 11 ++++------- 9 files changed, 9 insertions(+), 10 deletions(-) rename {assets => .github}/compilation-benchmark.png (100%) rename {assets => .github}/demo.gif (100%) create mode 100644 .github/logo.png rename {assets => cli/assets}/.gitignoreTemplate (100%) rename {assets => cli/assets}/ContractTemplate.sol (100%) rename {assets => cli/assets}/ContractTemplate.t.sol (100%) rename {assets => cli/assets}/workflowTemplate.yml (100%) diff --git a/assets/compilation-benchmark.png b/.github/compilation-benchmark.png similarity index 100% rename from assets/compilation-benchmark.png rename to .github/compilation-benchmark.png diff --git a/assets/demo.gif b/.github/demo.gif similarity index 100% rename from assets/demo.gif rename to .github/demo.gif diff --git a/.github/logo.png b/.github/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..8e24b87ef689e559f913575513a21af749593214 GIT binary patch literal 14491 zcmZ{LWmHvN*EZcL-Q6MGAl(hZp+g!3LAs?Iq>=6}>6Gs75Rj5oI)$5W@w~sk;Sh$x z*(df~b6zzg)m7!tQHW8XprFtdp(%Z{7|RWUPKsHpRBD9y19ijSI!QueDzl|xDRec4@AHpuj4mx zUmmu@DXx*!g<$>fx5v+M1~A`2elbK)_}BHQVZD1Y{gO-Rf8Pu9PU7i27~U;qswX&R zZf-8Hv$Io<1I>QueB>kP@W^wqp{J*(gtWADj%=aeYMq(XOMdD=+3q{W zYczOxcs5pirQDxCe@0YQRpo%|YJ`S{lBJA9>s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m2(*r6HEw`9i zSnTEhQz_Oo1Md0Irtg)?tBo{fnTP;%T!^tTx%=a_?I|ddLnpVBr9r^Wqnezy$h9gL z6|HCCJ^udeeKiLBfU>j_OTz!tKOO|48+;!wTfj!oIPPfPg8H|7&FDqD#Y5M2GS|X- z{c3vrx5hD3%uiSd>0Kb-tyF0(;8C_0F`eJYm;>E5V8bJ(64$Ae3Kk~{_P@NX-uJ_+ zOIB1>r3b+TDJ8TfeLth)I_qu_TNZZ&%1BNH7$8T){I6n}cG}pe-bY|&5k!EKs}nAr zH_IJ`j?mxv4HOdtk_-s4GYblOA;h>VkDd2?fz>GEH)*uI#Q(eXBc2ZnM9f~}fb`}+ zm6esBT1(DUACM*0k{^L8G7q*nVj~$Rzwt`dc>7MeN~!Mc?_>W@uk9VxehVxdS&*^s z01{C7+@C{+2mJDTlsE@YJG@cG5|p2tS$ecA%K(zLIF%*6XFO6)I&Le zN_0)XNe8rW@$h&jM@9&jn$ajWbx32o4Gg(g9Ye7B@Hd2R3}A zw_;~JwsUYNislx;L#9ZKP-XdM-@1o-+$i#^7-oS)`K*hDOjyaA2jcM^*bjV z50-y`*Yn# znZTBi6L`fQ$rD;CVY!rV3c=CBlGg-#MX8yY|7^_6whQs2>0tUf-h+#rfKOf>^PMwT zGRqm}IPC_@ZA9ecj?objBk^Dd4U=1@n)A&y_C0a|6c|9?KyEgdtbS~xp$9B4VWIUe z5QZ&QdKba;*O`+J*CHSyzQn%Qr+vZ3#&%Yjjd>UNf2(>}d9Db6#;0xn|5o<=gYLHx gQU5amdxkGBi8wWEI+y*!;2%&5GOE%wlBPlb50REec>n+a literal 0 HcmV?d00001 diff --git a/README.md b/README.md index eab8542611f2..b8122e686024 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ -#

Foundry

+Foundry logo + +## Foundry ![Github Actions][gha-badge] [![Telegram Chat][tg-badge]][tg-url] [![Telegram Support][tg-support-badge]][tg-support-url] @@ -22,7 +24,7 @@ Foundry consists of: **Need help getting started with Foundry? Read the [📖 Foundry Book][foundry-book] (WIP)!** -![Demo](./assets/demo.gif) +![Demo](.github/demo.gif) ## Installation @@ -109,7 +111,7 @@ See the benchmarks below. More benchmarks can be found in the [v0.2.0 announceme **Compilation Benchmarks** -Compilation benchmarks +Compilation benchmarks **Takeaway: Forge compilation is consistently faster by a factor of 1.7-11.3x, depending on the amount of caching involved.** diff --git a/assets/.gitignoreTemplate b/cli/assets/.gitignoreTemplate similarity index 100% rename from assets/.gitignoreTemplate rename to cli/assets/.gitignoreTemplate diff --git a/assets/ContractTemplate.sol b/cli/assets/ContractTemplate.sol similarity index 100% rename from assets/ContractTemplate.sol rename to cli/assets/ContractTemplate.sol diff --git a/assets/ContractTemplate.t.sol b/cli/assets/ContractTemplate.t.sol similarity index 100% rename from assets/ContractTemplate.t.sol rename to cli/assets/ContractTemplate.t.sol diff --git a/assets/workflowTemplate.yml b/cli/assets/workflowTemplate.yml similarity index 100% rename from assets/workflowTemplate.yml rename to cli/assets/workflowTemplate.yml diff --git a/cli/src/cmd/forge/init.rs b/cli/src/cmd/forge/init.rs index c3fecdf8b320..9ff16c71a26b 100644 --- a/cli/src/cmd/forge/init.rs +++ b/cli/src/cmd/forge/init.rs @@ -104,13 +104,10 @@ impl Cmd for InitArgs { // write the contract file let contract_path = src.join("Contract.sol"); - std::fs::write(contract_path, include_str!("../../../../assets/ContractTemplate.sol"))?; + std::fs::write(contract_path, include_str!("../../../assets/ContractTemplate.sol"))?; // write the tests let contract_path = test.join("Contract.t.sol"); - std::fs::write( - contract_path, - include_str!("../../../../assets/ContractTemplate.t.sol"), - )?; + std::fs::write(contract_path, include_str!("../../../assets/ContractTemplate.t.sol"))?; let dest = root.join(Config::FILE_NAME); if !dest.exists() { @@ -158,7 +155,7 @@ fn init_git_repo(root: &Path, no_commit: bool) -> eyre::Result<()> { if !is_git.success() { let gitignore_path = root.join(".gitignore"); - std::fs::write(gitignore_path, include_str!("../../../../assets/.gitignoreTemplate"))?; + std::fs::write(gitignore_path, include_str!("../../../assets/.gitignoreTemplate"))?; // git init Command::new("git") @@ -173,7 +170,7 @@ fn init_git_repo(root: &Path, no_commit: bool) -> eyre::Result<()> { let gh = root.join(".github").join("workflows"); std::fs::create_dir_all(&gh)?; let workflow_path = gh.join("test.yml"); - std::fs::write(workflow_path, include_str!("../../../../assets/workflowTemplate.yml"))?; + std::fs::write(workflow_path, include_str!("../../../assets/workflowTemplate.yml"))?; if !no_commit { Command::new("git").args(&["add", "."]).current_dir(&root).spawn()?.wait()?;