-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
24 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
yui-prettify | ||
============ | ||
yui-prettify-tools | ||
================== | ||
|
||
This builds a customized version of Prettify for use in YUI tools. | ||
This is a collection of scripts that will help out with building/upgrading a customized version of Prettify for use in YUI tools. | ||
|
||
build.sh | ||
---- | ||
Executing `build.sh` in this repository's directory will download the latest version of Prettify and wrap it with YUI customizations. | ||
|
||
update.sh | ||
---- | ||
Executing `update.sh` in any directory will find any Prettify JS/CSS files in sub-directories beneath it, and replace them with a new version from the build directory. |
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,13 @@ | ||
#!/bin/bash | ||
|
||
SRC="/Users/drg/src/yui/yui-prettify/build" | ||
|
||
for path in $(find . -name prettify* -type f | grep -v node_modules) | ||
do | ||
dir=${path%/*} | ||
file=${path##*/} | ||
|
||
cmd="cp $SRC/$file $path" | ||
echo $cmd | ||
$cmd | ||
done |