FuelLabs / sway

🌴 Empowering everyone to build reliable and efficient smart contracts.
https://docs.fuel.network/docs/sway/
Apache License 2.0
62.58k stars 5.37k forks source link

Add CI job to generate default Forc manifest and compare against a saved version #1136

Open adlerjohn opened 2 years ago

adlerjohn commented 2 years ago

Problems

Currently there are two problems:

  1. Examples that are built use a local path for the standard library in order to guarantee they don't break. This mean there are no examples that use the default Forc manifest that uses this repo's master branch for the standard library.
  2. Such an example is needed for the docs and potentially in other places. https://github.com/FuelLabs/sway/blob/a40472f2a67aa4907c29af0d079ab360c8892b4b/docs/src/introduction/forc_project.md?plain=1#L25

Tasks

mitchmindtree commented 2 years ago

Yeah this sounds reasonable! If we do want to include this under examples/ it shouldn't be too tricky to filter the example out of the build_all_examples Rust script.