-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makefile to build elastic's CSS (#9581)
Those steps need to be repeated once in a while when working with the repository code, and now that's easier.
- Loading branch information
Showing
2 changed files
with
15 additions
and
5 deletions.
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,8 @@ | ||
# No default target to avoid this being mistaken as sufficient preparation for | ||
# running the code (these styles depend on bootstrap, which needs to be | ||
# downloaded, too; see bin/install-jsdeps.sh in the repo's root). | ||
|
||
css: | ||
npx lessc --clean-css="--s1 --advanced" styles/styles.less > styles/styles.min.css | ||
npx lessc --clean-css="--s1 --advanced" styles/print.less > styles/print.min.css | ||
npx lessc --clean-css="--s1 --advanced" styles/embed.less > styles/embed.min.css |