organizing as and swc files a bit more sanely
This commit is contained in:
parent
64f116a83d
commit
732624dea7
@ -13,7 +13,7 @@
|
||||
import mx.rpc.events.FaultEvent;
|
||||
import mx.controls.Alert;
|
||||
|
||||
import RequestParams;
|
||||
import com.ag.RequestParams;
|
||||
|
||||
[Bindable]
|
||||
private var photoFeed:ArrayCollection;
|
||||
|
7
Makefile
7
Makefile
@ -16,21 +16,20 @@ SWFS = $(patsubst %.mxml,%.swf,$(wildcard [0-9]*-*/*.mxml))
|
||||
|
||||
|
||||
# define all target swc paths (same as with swf paths above)
|
||||
SWCS = $(patsubst %.as,%.swc,$(wildcard comps/*.as))
|
||||
SWCS = $(patsubst %.as,%.swc,$(wildcard com/ag/*.as))
|
||||
|
||||
|
||||
# define an implicit build rule for any file matching %.swf,
|
||||
# using the $< (input) and $@ (output) automatic variables
|
||||
%.swf : %.mxml
|
||||
$(MXMLC) $< -warnings -l+=./comps -output $@
|
||||
$(MXMLC) $< -warnings -l+=./com/ag -output $@
|
||||
|
||||
|
||||
# define an implicit build rule for any file matching %.swc,
|
||||
# using the $< (input) and $@ (output) automatic variables
|
||||
# just like with the %.swf implicit rule above
|
||||
%.swc : %.as
|
||||
_CLS=$$(echo $< | sed 's@.*/\(.*\)\..*$$@\1@') && \
|
||||
$(COMPC) -sp ./comps -output $@ -include-classes $$_CLS
|
||||
$(COMPC) -sp+=./ -output $@ -include-classes $(subst /,.,$(basename $<))
|
||||
|
||||
|
||||
# build all expected swf and swc files
|
||||
|
@ -1,4 +1,4 @@
|
||||
package
|
||||
package com.ag
|
||||
{
|
||||
public class RequestParams
|
||||
{
|
Loading…
Reference in New Issue
Block a user