зеркало из https://github.com/mozilla/shumway.git
Automates gh-pages building
This commit is contained in:
Родитель
d9edf834a3
Коммит
e5d2abb59b
3
Makefile
3
Makefile
|
@ -32,6 +32,9 @@ build-playerglobal:
|
|||
build-extension:
|
||||
make -C extension/firefox/ build
|
||||
|
||||
build-web:
|
||||
make -C web/ build
|
||||
|
||||
test:
|
||||
make -C src/avm1/tests/ test
|
||||
make -C src/avm2/bin/ test-regress
|
||||
|
|
|
@ -0,0 +1,69 @@
|
|||
# Builds gh-pages
|
||||
|
||||
SHUMWAY_ROOT=..
|
||||
|
||||
build: clean \
|
||||
$(SHUMWAY_ROOT)/src/flash/playerGlobal.min.abc \
|
||||
$(SHUMWAY_ROOT)/extension/firefox/build/shumway.xpi
|
||||
mkdir build
|
||||
cp -R $(SHUMWAY_ROOT)/LICENSE index.html build/
|
||||
# Coping JavaScript content files
|
||||
mkdir build/src
|
||||
mkdir build/src/swf
|
||||
cp $(SHUMWAY_ROOT)/src/swf/*.js build/src/swf/
|
||||
mkdir build/src/flash
|
||||
cp $(SHUMWAY_ROOT)/src/flash/*.js build/src/flash/
|
||||
cp $(SHUMWAY_ROOT)/src/flash/playerGlobal.min.abc build/src/flash/
|
||||
mkdir build/src/flash/display
|
||||
cp $(SHUMWAY_ROOT)/src/flash/display/*.js build/src/flash/display/
|
||||
mkdir build/src/flash/events
|
||||
cp $(SHUMWAY_ROOT)/src/flash/events/*.js build/src/flash/events/
|
||||
mkdir build/src/flash/geom
|
||||
cp $(SHUMWAY_ROOT)/src/flash/geom/*.js build/src/flash/geom/
|
||||
mkdir build/src/flash/media
|
||||
cp $(SHUMWAY_ROOT)/src/flash/media/*.js build/src/flash/media/
|
||||
mkdir build/src/flash/net
|
||||
cp $(SHUMWAY_ROOT)/src/flash/net/*.js build/src/flash/net/
|
||||
mkdir build/src/flash/text
|
||||
cp $(SHUMWAY_ROOT)/src/flash/text/*.js build/src/flash/text/
|
||||
mkdir build/src/flash/ui
|
||||
cp $(SHUMWAY_ROOT)/src/flash/ui/*.js build/src/flash/ui/
|
||||
mkdir build/src/flash/utils
|
||||
cp $(SHUMWAY_ROOT)/src/flash/utils/*.js build/src/flash/utils/
|
||||
mkdir build/src/avm1
|
||||
cp $(SHUMWAY_ROOT)/src/avm1/*.js build/src/avm1/
|
||||
mkdir build/src/avm2
|
||||
cp $(SHUMWAY_ROOT)/src/avm2/*.js build/src/avm2/
|
||||
mkdir build/src/avm2/compiler
|
||||
cp $(SHUMWAY_ROOT)/src/avm2/compiler/*.js build/src/avm2/compiler/
|
||||
mkdir -p build/src/avm2/compiler/lljs/src
|
||||
cp $(SHUMWAY_ROOT)/src/avm2/compiler/lljs/src/*.js build/src/avm2/compiler/lljs/src/
|
||||
mkdir -p build/src/avm2/generated/builtin
|
||||
cp $(SHUMWAY_ROOT)/src/avm2/generated/builtin/builtin.abc build/src/avm2/generated/builtin/
|
||||
mkdir build/lib
|
||||
mkdir build/lib/Kanvas
|
||||
cp $(SHUMWAY_ROOT)/lib/Kanvas/* build/lib/Kanvas/
|
||||
mkdir build/lib/DataView.js
|
||||
cp $(SHUMWAY_ROOT)/lib/DataView.js/* build/lib/DataView.js/
|
||||
# Copy examples
|
||||
cp -R $(SHUMWAY_ROOT)/examples build
|
||||
# Copy extensions
|
||||
mkdir -p build/extension/firefox
|
||||
cp $(SHUMWAY_ROOT)/extension/firefox/build/shumway.xpi build/extension/firefox/
|
||||
# Removing hidden files
|
||||
-find build -name ".DS_Store" | xargs rm
|
||||
# Creating commit
|
||||
cd build; git init .; git checkout -b gh-pages;
|
||||
cd build; git add -A; git commit -m "Updates shumway gh-pages files"
|
||||
echo "Success gh-pages is created. To push:"
|
||||
echo " cd web/build; git push -f git@github.com:mozilla/shumway.git gh-pages"
|
||||
|
||||
$(SHUMWAY_ROOT)/extension/firefox/build/shumway.xpi:
|
||||
$(MAKE) -C $(SHUMWAY_ROOT)/extension/firefox build
|
||||
clean:
|
||||
-rm -rf build
|
||||
|
||||
$(SHUMWAY_ROOT)/src/flash/playerGlobal.min.abc:
|
||||
make -C $(SHUMWAY_ROOT) build-playerglobal
|
||||
|
||||
PHONY: build clean
|
|
@ -0,0 +1 @@
|
|||
Subproject commit fc030a7b41b13f32ea086d777f0d5286a6f663dd
|
|
@ -0,0 +1,73 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset='utf-8'>
|
||||
|
||||
<title>mozilla/shumway @ GitHub</title>
|
||||
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin-top: 1.0em;
|
||||
background-color: #482a30;
|
||||
font-family: Helvetica, Arial, FreeSans, san-serif;
|
||||
color: #ffffff;
|
||||
}
|
||||
#container {
|
||||
margin: 0 auto;
|
||||
width: 700px;
|
||||
}
|
||||
h1 { font-size: 3.8em; color: #b7d5cf; margin-bottom: 3px; }
|
||||
h1 .small { font-size: 0.4em; }
|
||||
h1 a { text-decoration: none }
|
||||
h2 { font-size: 1.5em; color: #b7d5cf; }
|
||||
h3 { text-align: center; color: #b7d5cf; }
|
||||
a { color: #b7d5cf; }
|
||||
.description { font-size: 1.2em; margin-bottom: 30px; margin-top: 30px; font-style: italic;}
|
||||
.download { float: right; }
|
||||
pre { background: #000; color: #fff; padding: 15px;}
|
||||
hr { border: 0; width: 80%; border-bottom: 1px solid #aaa}
|
||||
.footer { text-align:center; padding-top:30px; font-style: italic; }
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<a href="http://github.com/mozilla/shumway"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
|
||||
|
||||
<div id="container">
|
||||
|
||||
<div class="download">
|
||||
<a href="http://github.com/mozilla/shumway/zipball/master">
|
||||
<img border="0" width="90" src="http://github.com/images/modules/download/zip.png"></a>
|
||||
<a href="http://github.com/mozilla/shumway/tarball/master">
|
||||
<img border="0" width="90" src="http://github.com/images/modules/download/tar.png"></a>
|
||||
</div>
|
||||
|
||||
<h1><a href="http://github.com/mozilla/shumway">shumway</a></h1>
|
||||
|
||||
<div class="description">
|
||||
Shumway is an HTML5 technology experiment that explores building a faithful and efficient renderer for the SWF file format without native code assistance.
|
||||
</div>
|
||||
|
||||
<h2>Try it out!</h2>
|
||||
<p>Live <a href="examples/racing/">demo</a> lives here. Firefox <a href="extension/firefox/shumway.xpi">extension</a> lives here.</p>
|
||||
|
||||
<h2>Download</h2>
|
||||
<p>
|
||||
You can download this project in either
|
||||
<a href="http://github.com/mozilla/shumway/zipball/master">zip</a> or
|
||||
<a href="http://github.com/mozilla/shumway/tarball/master">tar</a> formats.
|
||||
</p>
|
||||
<p>You can also clone the project with <a href="http://git-scm.com">Git</a>
|
||||
by running:
|
||||
<pre>$ git clone git://github.com/mozilla/shumway</pre>
|
||||
</p>
|
||||
|
||||
<div class="footer">
|
||||
get the source code on GitHub : <a href="http://github.com/mozilla/shumway">mozilla/shumway</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
Загрузка…
Ссылка в новой задаче