tree: ce006aeac8888a2f9fb8bb22276ee76c2097a108 [path history] [tgz]
  1. check/
  2. external/
  3. generated/
  4. github-comment/
  5. install/
  6. templates/
  7. xcode/
  8. apply_all_templates
  9. apply_template
  10. build_all
  11. build_site.sh
  12. check_components
  13. clean_all
  14. convert_name
  15. export-patch
  16. format_all
  17. gendocs.sh
  18. generate_all_readmes
  19. generate_jazzy_yamls.sh
  20. generate_readme
  21. install_contributor_tools
  22. lint_all
  23. list_components
  24. manage_pods.py
  25. prep_all
  26. print_version
  27. README-release.md
  28. README.md
  29. readme_to_console
  30. release
  31. sync_icons.sh
  32. temporary_clone_at_ref
  33. test_all
  34. versionignore
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.