Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added new CSS template build shell script, added makefile target for …
…CSS builds, added CI test linting of new shell script
- Loading branch information
1 parent
10f8656
commit 12b5801
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/sh | ||
|
||
####################################### | ||
# Copyright 2017 Christopher Simpkins | ||
# MIT License | ||
####################################### | ||
|
||
# This script builds the Hack web font CSS files from CSS file templates | ||
# by adding a git commit sha1 stamp to the URL string | ||
|
||
# Dependency: | ||
# Ink - https://github.com/chrissimpkins/ink (Go text templating application) | ||
# - install with `go get github.com/chrissimpkins/ink` | ||
|
||
# Usage: | ||
# execute script from root of Hack repository with make using the following: | ||
# $ make css | ||
|
||
|
||
ink --replace="$(git log --pretty=format:'%h' --abbrev-commit -1)" build/web/hack.css.in build/web/hack-subset.css.in |
12b5801
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/reposting tysm