Permalink
Browse files

Updated build file to rewrite docs in pages as well.

  • Loading branch information...
1 parent 291c042 commit 0fd2d36a22724500eb6c6c961ec0aac9fb1a5890 @yourpalmark yourpalmark committed Mar 7, 2011
Showing with 21 additions and 4 deletions.
  1. +3 −0 .gitignore
  2. +1 −3 README.md
  3. +2 −0 build/build.properties
  4. +15 −1 build/build.xml
View
@@ -1,3 +1,6 @@
+#Mac
+.DS_Store
+
#Flash Builder
.actionScriptProperties
.flexProperties
View
@@ -11,11 +11,9 @@ The Adobe Flash Platform and Facebook Platform provide the ideal solution for bu
- Reach people: Reach millions of Facebook users through social distribution.
##Getting Started
-For tutorials, articles, and videos on using the new API, visit the [Facebook](http://www.adobe.com/devnet/facebook/) page on the Adobe Developer Center. You can also see the [docs](http://facebook-actionscript-api.googlecode.com/svn/release/current/docs/index.html) for the most recent and stable build.
+For tutorials, articles, and videos on using the new API, visit the [Facebook page](http://www.adobe.com/devnet/facebook/) on the Adobe Developer Center. You can also see the [docs](http://yourpalmark.github.com/facebook-actionscript-api/docs/) for the most recent and stable build.
##Project History
The API was originally developed by [Jason Crist](http://pbking.com/) and authored under the direction of [Terralever](http://terralever.com/), an online marketing firm with strength in Flash-based media. Although Adobe has taken over day-to-day management of the project, Jason still maintains a consulting role. Under the direction of Adobe, the highly experienced team of Flash and Flex experts from [gskinner.com](http://www.gskinner.com/) have developed and architected the latest iteration of the API. [Mark Walters](http://yourpalmark.com/) transferred the project over to github to update and allow others to easily branch and contribute to the project.
-If you are looking for the deprecated code and samples, see the 'tag/version2' directory in the repository or search for files with the 'Deprecated' tag in the downloads section.
-
For questions and inquiries about this library, please contact Mark Walters via email at <mark@yourpalmark.com>. Submit bug reports, patches, or feature requests via the issue tracker.
@@ -42,6 +42,8 @@ libs.dir = ${basedir}/libs
bin.dir = ${basedir}/bin
bin-release.dir = ${basedir}/bin-release
docs.dir = ${basedir}/docs
+pages.dir = ${basedir}/../${ant.project.name}-pages
+pages.docs.dir = ${pages.dir}/docs
# -----------------------------------------------------------------
View
@@ -54,7 +54,7 @@
</target>
<!-- Clean and re-generate the documentation -->
- <target name="docs" depends="clean-docs,compile-docs" />
+ <target name="docs" depends="clean-docs,compile-docs,copy-docs" />
<!-- Clean the documentation -->
<target name="clean-docs">
@@ -82,6 +82,20 @@
</exec>
</target>
+ <!-- Copy the documentation to the pages directory if it exists -->
+ <target name="copy-docs">
+ <if>
+ <available file="${pages.dir}" type="dir" />
+ <then>
+ <delete dir="${pages.docs.dir}" includeemptydirs="true" failonerror="true" />
+ <mkdir dir="${pages.docs.dir}" />
+ <copy todir="${pages.docs.dir}">
+ <fileset dir="${docs.dir}"/>
+ </copy>
+ </then>
+ </if>
+ </target>
+
<!-- Package project for distribution -->
<target name="release" depends="component,docs">
<mkdir dir="${bin-release.dir}" />

0 comments on commit 0fd2d36

Please sign in to comment.