Compare commits
No commits in common. "c264564bb88f98edecc0b01a6f6f4852e94fadc8" and "36773fe342150945db41e45ecb25393b62c33bb5" have entirely different histories.
c264564bb8
...
36773fe342
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -4,6 +4,3 @@
|
||||
[submodule "mediaelement-plugins"]
|
||||
path = mediaelement-plugins
|
||||
url = https://github.com/mediaelement/mediaelement-plugins.git
|
||||
[submodule "jsmediatags"]
|
||||
path = jsmediatags
|
||||
url = https://github.com/aadsm/jsmediatags.git
|
||||
|
8
Makefile
8
Makefile
@ -1,8 +0,0 @@
|
||||
.PHONY: all src css
|
||||
|
||||
all: css src
|
||||
|
||||
css:
|
||||
css/build.sh
|
||||
src:
|
||||
src/build.sh
|
16
src/build.sh
16
src/build.sh
@ -39,26 +39,30 @@ rm -f "$jsdir"/myplayer.min.js
|
||||
|
||||
for js in \
|
||||
../mediaelement/build/mediaelement-and-player.min.js \
|
||||
../mediaelement-plugins/dist/playlist/playlist.min.js \
|
||||
../jsmediatags/dist/jsmediatags.js
|
||||
../mediaelement-plugins/dist/playlist/playlist.min.js
|
||||
do
|
||||
echo "INFO: Appending $js ..." >&2
|
||||
cat $js >> "$jsdir"/myplayer.min.js
|
||||
done
|
||||
|
||||
echo "INFO: Compressing player.js ..." >&2
|
||||
yui-compressor player.js >> "$jsdir"/myplayer.min.js
|
||||
for js in \
|
||||
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
|
||||
|
||||
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 \
|
||||
../mediaelement/build/mediaelement-and-player.js \
|
||||
../mediaelement-plugins/dist/playlist/playlist.js \
|
||||
../jsmediatags/dist/jsmediatags.min.js \
|
||||
id3-minimized.js \
|
||||
player.js
|
||||
do
|
||||
echo "INFO: Appending $js ..." >&2
|
||||
|
Loading…
Reference in New Issue
Block a user