From efd3fe2dbfa18ce3d9f75af307d934f0be884f8f Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Fri, 19 Feb 2010 22:08:26 -0500 Subject: [PATCH] simplifying mxml/as crap, removing com/ag/ package --- 03d1-datagrid/DataGridApp.as | 2 +- {com/ag => 03d1-datagrid}/RequestParams.as | 2 +- Makefile | 8 ++------ 3 files changed, 4 insertions(+), 8 deletions(-) rename {com/ag => 03d1-datagrid}/RequestParams.as (88%) diff --git a/03d1-datagrid/DataGridApp.as b/03d1-datagrid/DataGridApp.as index 240e11e..f5c910f 100644 --- a/03d1-datagrid/DataGridApp.as +++ b/03d1-datagrid/DataGridApp.as @@ -13,7 +13,7 @@ package import mx.rpc.events.ResultEvent; import mx.rpc.http.HTTPService; - import com.ag.RequestParams; + import RequestParams; public class DataGridApp extends Application { diff --git a/com/ag/RequestParams.as b/03d1-datagrid/RequestParams.as similarity index 88% rename from com/ag/RequestParams.as rename to 03d1-datagrid/RequestParams.as index ffcd8a8..d6ccb46 100644 --- a/com/ag/RequestParams.as +++ b/03d1-datagrid/RequestParams.as @@ -1,4 +1,4 @@ -package com.ag +package { public class RequestParams { diff --git a/Makefile b/Makefile index 0b67d3f..9b0803d 100644 --- a/Makefile +++ b/Makefile @@ -15,14 +15,10 @@ COMPC ?= compc SWFS = $(patsubst %.mxml,%.swf,$(wildcard [0-9]*-*/*.mxml)) -# define all target swc paths (same as with swf paths above) -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+=./com/ag -l+=$(dir $<) -output $@ + $(MXMLC) $< -warnings -l+=$(dir $<) -output $@ # define an implicit build rule for any file matching %.swc, @@ -33,7 +29,7 @@ SWCS = $(patsubst %.as,%.swc,$(wildcard com/ag/*.as)) # build all expected swf and swc files -all: $(SWCS) $(SWFS) +all: $(SWFS) # remove all swf files in the tree