css-build.sh 639 B

1234567891011121314151617181920
  1. #!/bin/sh
  2. #######################################
  3. # Copyright 2018 Christopher Simpkins
  4. # MIT License
  5. #######################################
  6. # This script builds the Hack web font CSS files from CSS file templates
  7. # by adding a git commit sha1 stamp to the URL string
  8. # Dependency:
  9. # Ink - https://github.com/chrissimpkins/ink (Go text templating application)
  10. # - install with `go get github.com/chrissimpkins/ink`
  11. # Usage:
  12. # execute script from root of Hack repository with make using the following:
  13. # $ make css
  14. git log --pretty=format:'%h' --abbrev-commit -1 | ink build/web/hack.css.in build/web/hack-subset.css.in