Compare commits

..

No commits in common. "c264564bb88f98edecc0b01a6f6f4852e94fadc8" and "36773fe342150945db41e45ecb25393b62c33bb5" have entirely different histories.

3 changed files with 10 additions and 17 deletions

3
.gitmodules vendored
View File

@ -4,6 +4,3 @@
[submodule "mediaelement-plugins"] [submodule "mediaelement-plugins"]
path = mediaelement-plugins path = mediaelement-plugins
url = https://github.com/mediaelement/mediaelement-plugins.git url = https://github.com/mediaelement/mediaelement-plugins.git
[submodule "jsmediatags"]
path = jsmediatags
url = https://github.com/aadsm/jsmediatags.git

View File

@ -1,8 +0,0 @@
.PHONY: all src css
all: css src
css:
css/build.sh
src:
src/build.sh

View File

@ -39,26 +39,30 @@ rm -f "$jsdir"/myplayer.min.js
for js in \ for js in \
../mediaelement/build/mediaelement-and-player.min.js \ ../mediaelement/build/mediaelement-and-player.min.js \
../mediaelement-plugins/dist/playlist/playlist.min.js \ ../mediaelement-plugins/dist/playlist/playlist.min.js
../jsmediatags/dist/jsmediatags.js
do do
echo "INFO: Appending $js ..." >&2 echo "INFO: Appending $js ..." >&2
cat $js >> "$jsdir"/myplayer.min.js cat $js >> "$jsdir"/myplayer.min.js
done done
echo "INFO: Compressing player.js ..." >&2 for js in \
yui-compressor player.js >> "$jsdir"/myplayer.min.js id3-minimized.js \
player.js
do
echo "INFO: Compressing $js ..." >&2
yui-compressor "$js" >> "$jsdir"/myplayer.min.js
done
chmod 644 "$jsdir"/myplayer.min.js chmod 644 "$jsdir"/myplayer.min.js
echo "INFO: Javascript source was minimized to $jsdir/myplayer.min.js" >&2 echo "INFO: Javascript source was minimized to $jsdir/myplayer.min.js" >&2
rm -f "$jsdir"/myplayer.js rm -f ../js/myplayer.js
for js in \ for js in \
../mediaelement/build/mediaelement-and-player.js \ ../mediaelement/build/mediaelement-and-player.js \
../mediaelement-plugins/dist/playlist/playlist.js \ ../mediaelement-plugins/dist/playlist/playlist.js \
../jsmediatags/dist/jsmediatags.min.js \ id3-minimized.js \
player.js player.js
do do
echo "INFO: Appending $js ..." >&2 echo "INFO: Appending $js ..." >&2