finished doing html wrappers of all submodules
This commit is contained in:
parent
365cb8f87f
commit
6314580aab
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
dist/*.swf
|
||||||
|
dist/*.html
|
4
.gitmodules
vendored
4
.gitmodules
vendored
@ -4,8 +4,8 @@
|
|||||||
[submodule "flixel"]
|
[submodule "flixel"]
|
||||||
path = flixel
|
path = flixel
|
||||||
url = git@github.com:meatballhat/flixel.git
|
url = git@github.com:meatballhat/flixel.git
|
||||||
[submodule "Flx-Invaders"]
|
[submodule "FlxInvaders"]
|
||||||
path = Flx-Invaders
|
path = FlxInvaders
|
||||||
url = git@github.com:meatballhat/Flx-Invaders.git
|
url = git@github.com:meatballhat/Flx-Invaders.git
|
||||||
[submodule "FlxCollisions"]
|
[submodule "FlxCollisions"]
|
||||||
path = FlxCollisions
|
path = FlxCollisions
|
||||||
|
25
Makefile
25
Makefile
@ -1,23 +1,38 @@
|
|||||||
FLIXEL := $(PWD)/flixel
|
|
||||||
WRAP := $(PWD)/bin/flashhtml.py
|
|
||||||
TOP := $(PWD)
|
TOP := $(PWD)
|
||||||
|
FLIXEL := $(TOP)/flixel
|
||||||
|
PYTHON := python2.6
|
||||||
|
WRAP := $(TOP)/flash_html_wrap.py
|
||||||
|
DIST := $(TOP)/dist
|
||||||
|
|
||||||
MXMLC := mxmlc
|
MXMLC := mxmlc
|
||||||
MXMLC_FLAGS := -sp $(FLIXEL)
|
MXMLC_FLAGS := -sp $(FLIXEL)
|
||||||
|
|
||||||
PROJECTS = \
|
PROJECTS = \
|
||||||
Flx-Invaders \
|
FlxInvaders \
|
||||||
FlxBloom \
|
FlxBloom \
|
||||||
FlxBlur \
|
FlxBlur \
|
||||||
FlxCollisions \
|
FlxCollisions \
|
||||||
FlxTeroids \
|
FlxTeroids \
|
||||||
HelloWorld
|
HelloWorld
|
||||||
|
|
||||||
mkproject = cd $(project)/src && $(MAKE) && cd $(TOP) ;
|
mkproject = \
|
||||||
|
cd $(project)/src && $(MAKE) && \
|
||||||
|
cd $(TOP) && \
|
||||||
|
$(call mkhtmlwrap,$(project)) && \
|
||||||
|
cd $(TOP) ;
|
||||||
|
|
||||||
|
|
||||||
|
mkhtmlwrap = \
|
||||||
|
cp $(TOP)/$(1)/src/$(1).swf $(DIST)/$(1).swf && \
|
||||||
|
$(PYTHON) $(WRAP) -P $(DIST)/$(1).properties > $(DIST)/$(1).html
|
||||||
|
|
||||||
|
|
||||||
|
%.html: %.swf
|
||||||
|
$(call mkhtmlwrap,$*)
|
||||||
|
|
||||||
|
|
||||||
all:
|
all:
|
||||||
$(foreach project,$(PROJECTS),$(mkproject))
|
$(foreach project,$(PROJECTS),$(mkproject)) echo "done" ;
|
||||||
|
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
|
8
dist/FlxBloom.properties
vendored
Normal file
8
dist/FlxBloom.properties
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
title=Flixel Bloom
|
||||||
|
bgcolor=#000
|
||||||
|
useBrowserHistory=false
|
||||||
|
expressInstallSwf=false
|
||||||
|
application=flixel-bloom-app
|
||||||
|
swf=FlxBloom
|
||||||
|
width=800
|
||||||
|
height=600
|
8
dist/FlxBlur.properties
vendored
Normal file
8
dist/FlxBlur.properties
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
title=Flixel Blur
|
||||||
|
bgcolor=#000
|
||||||
|
useBrowserHistory=false
|
||||||
|
expressInstallSwf=false
|
||||||
|
application=flixel-blur-app
|
||||||
|
swf=FlxBlur
|
||||||
|
width=800
|
||||||
|
height=600
|
8
dist/FlxCollisions.properties
vendored
Normal file
8
dist/FlxCollisions.properties
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
title=Flixel Collisions
|
||||||
|
bgcolor=#000
|
||||||
|
useBrowserHistory=false
|
||||||
|
expressInstallSwf=false
|
||||||
|
application=flixel-collisions-app
|
||||||
|
swf=FlxCollisions
|
||||||
|
width=800
|
||||||
|
height=600
|
8
dist/FlxInvaders.properties
vendored
Normal file
8
dist/FlxInvaders.properties
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
title=Flixel Invaders
|
||||||
|
bgcolor=#000
|
||||||
|
useBrowserHistory=false
|
||||||
|
expressInstallSwf=false
|
||||||
|
application=flixel-invaders-app
|
||||||
|
swf=FlxInvaders
|
||||||
|
width=800
|
||||||
|
height=600
|
8
dist/FlxTeroids.properties
vendored
Normal file
8
dist/FlxTeroids.properties
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
title=Flixel Teroids
|
||||||
|
bgcolor=#000
|
||||||
|
useBrowserHistory=false
|
||||||
|
expressInstallSwf=false
|
||||||
|
application=flixel-teroids-app
|
||||||
|
swf=FlxTeroids
|
||||||
|
width=800
|
||||||
|
height=600
|
8
dist/HelloWorld.properties
vendored
Normal file
8
dist/HelloWorld.properties
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
title=Hello World
|
||||||
|
bgcolor=#000
|
||||||
|
useBrowserHistory=false
|
||||||
|
expressInstallSwf=false
|
||||||
|
application=hello-world-app
|
||||||
|
swf=HelloWorld
|
||||||
|
width=800
|
||||||
|
height=600
|
0
bin/flashhtml.py → flash_html_wrap.py
Executable file → Normal file
0
bin/flashhtml.py → flash_html_wrap.py
Executable file → Normal file
Loading…
Reference in New Issue
Block a user