tree: 5a6f8c929fa63ce479c93db80295a8fa695be045 [path history] [tgz]
  1. check/
  2. external/
  3. generated/
  4. install/
  5. release/
  6. xcode/
  7. build_all
  8. build_site.sh
  9. check_components
  10. clean_all
  11. convert_name
  12. format_all
  13. gendocs.sh
  14. generate_jazzy_yamls.sh
  15. install_contributor_tools
  16. lint_all
  17. prep_all
  18. README.md
  19. sync_icons.sh
  20. temporary_clone_at_ref
  21. test_all
scripts/README.md

Scripts

Scripts for maintaining Material Components for iOS—none of these scripts are required to use MDC or for casual contributors.

The important scripts are:

  • prep_all: prepare the Material Components catalog, tests, and demos apps for building.
  • build_all: build the Material Components catalog and each of our demo apps.
  • test_all: build and test the Material Components unit and interation tests.
  • clean_all: remove artifacts from the prep_all, build_all, and test_all scripts.
  • check_components: run component checks for documentation, examples, etc.
  • install_contributor_tools: install local contributor tools to speed up the development cycle.

Languages

Material Components follows Google's language standards for scripting. The following lanaguages can be used for scripts:

Either language can be used for a particular purpose, but larger or more complex scripts should be written in (or converted to) Python. Bash scripts get unwieldy quickly and advanced Bash scripting knowledge is currently less common than advanced Python scripting knowledge.

The intent is that the scripts will run on relatively current OS X machines with (only) Xcode installed.