Browse files

Started project renaming process

  • Loading branch information...
1 parent e7ab584 commit 4677bdd5a099c210d9c9149d4ffe94bad6838473 @sergeche sergeche committed Aug 21, 2012
Showing with 79 additions and 79 deletions.
  1. +6 −6 build.properties
  2. +64 −64 build.xml
  3. +6 −6 build/resources.xml
  4. +3 −3 plugins/codemirror2/README.md
View
12 build.properties
@@ -1,8 +1,8 @@
builder.dir=${basedir}/build
-zencoding_version=0.8
-zencoding_build_dir=${basedir}/dist
-zencoding_javascript=${basedir}/javascript
-zencoding_javascript_filters=${zencoding_javascript}/filters
-zencoding_plugins=${zencoding_build_dir}/plugins
-zencoding_plugins_source=${basedir}/plugins
+emmet_version=1.0
+emmet_build_dir=${basedir}/dist
+emmet_javascript=${basedir}/javascript
+emmet_javascript_filters=${emmet_javascript}/filters
+emmet_plugins=${emmet_build_dir}/plugins
+emmet_plugins_source=${basedir}/plugins
View
128 build.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<project name="Zen Coding" default="main" basedir=".">
+<project name="Emmet toolkit" default="main" basedir=".">
<property file="build.properties"/>
<import file="${basedir}/build/resources.xml"/>
@@ -12,12 +12,12 @@
</taskdef>
<target name="init">
- <mkdir dir="${zencoding_build_dir}"/>
- <mkdir dir="${zencoding_plugins}"/>
+ <mkdir dir="${emmet_build_dir}"/>
+ <mkdir dir="${emmet_plugins}"/>
</target>
<target name="plugin.generic" depends="init">
- <concat destfile="${zencoding_build_dir}/zencoding.js" force="yes">
+ <concat destfile="${emmet_build_dir}/emmet.js" force="yes">
<filelist refid="javascript.core" />
<filelist refid="javascript.actions" />
<fileset refid="javascript.resolvers" />
@@ -27,22 +27,22 @@
</target>
<target name="plugin.app" depends="plugin.generic">
- <concat destfile="${zencoding_build_dir}/zencoding-app.js" force="yes">
- <filelist dir="${zencoding_build_dir}">
- <file name="zencoding.js"/>
+ <concat destfile="${emmet_build_dir}/emmet-app.js" force="yes">
+ <filelist dir="${emmet_build_dir}">
+ <file name="emmet.js"/>
</filelist>
- <filelist dir="${zencoding_javascript}/loaders">
+ <filelist dir="${emmet_javascript}/loaders">
<file name="bootstrap.js"/>
</filelist>
</concat>
</target>
<target name="plugin.generic-full" depends="plugin.generic">
- <concat destfile="${zencoding_build_dir}/zencoding-full.js" force="yes">
- <filelist dir="${zencoding_build_dir}">
- <file name="zencoding.js"/>
+ <concat destfile="${emmet_build_dir}/emmet-full.js" force="yes">
+ <filelist dir="${emmet_build_dir}">
+ <file name="emmet.js"/>
</filelist>
- <filelist dir="${zencoding_javascript}/actions">
+ <filelist dir="${emmet_javascript}/actions">
<file name="selectLine.js"/>
</filelist>
<string>zen_coding.require('resources').setVocabulary(</string>
@@ -53,155 +53,155 @@
<!-- CodeMirror2 plugin -->
<target name="plugin.codemirror2" depends="plugin.generic-full" description="Plugin for CodeMirror2 editor">
- <mkdir dir="${zencoding_build_dir}/CodeMirror2"/>
- <concat destfile="${zencoding_build_dir}/CodeMirror2/zencoding.js">
- <filelist dir="${zencoding_build_dir}">
- <file name="zencoding-full.js"/>
+ <mkdir dir="${emmet_build_dir}/CodeMirror2"/>
+ <concat destfile="${emmet_build_dir}/CodeMirror2/emmet.js">
+ <filelist dir="${emmet_build_dir}">
+ <file name="emmet-full.js"/>
</filelist>
- <filelist dir="${zencoding_plugins_source}/codemirror2">
+ <filelist dir="${emmet_plugins_source}/codemirror2">
<file name="editor.js"/>
</filelist>
</concat>
- <compile-js destfile="${zencoding_build_dir}/CodeMirror2/zencoding.min.js">
- <filelist dir="${zencoding_build_dir}/CodeMirror2">
- <file name="zencoding.js"/>
+ <compile-js destfile="${emmet_build_dir}/CodeMirror2/emmet.min.js">
+ <filelist dir="${emmet_build_dir}/CodeMirror2">
+ <file name="emmet.js"/>
</filelist>
</compile-js>
<copy
- file="${zencoding_plugins_source}/codemirror2/README.md"
- todir="${zencoding_build_dir}/CodeMirror2"/>
+ file="${emmet_plugins_source}/codemirror2/README.md"
+ todir="${emmet_build_dir}/CodeMirror2"/>
<zip
- basedir="${zencoding_build_dir}/CodeMirror2"
+ basedir="${emmet_build_dir}/CodeMirror2"
compress="yes"
level="9"
- destfile="${zencoding_build_dir}/CodeMirror2/ZenCoding-CodeMirror2-v${zencoding_version}-alpha.zip"
+ destfile="${emmet_build_dir}/CodeMirror2/Emmet-CodeMirror2-v${emmet_version}.zip"
excludes="*.zip"/>
</target>
<!-- Plugn for Komodo Edit -->
<target name="plugin.komodo" depends="plugin.app">
- <mkdir dir="${zencoding_build_dir}/komodo"/>
+ <mkdir dir="${emmet_build_dir}/komodo"/>
- <copy todir="${zencoding_build_dir}/komodo">
- <fileset dir="${zencoding_plugins_source}/komodo"/>
+ <copy todir="${emmet_build_dir}/komodo">
+ <fileset dir="${emmet_plugins_source}/komodo"/>
<filterchain>
<replacetokens>
- <token key="VERSION" value="${zencoding_version}"/>
+ <token key="VERSION" value="${emmet_version}"/>
</replacetokens>
</filterchain>
</copy>
<copy
- file="${zencoding_build_dir}/zencoding-app.js"
- todir="${zencoding_build_dir}/komodo/content/js" />
+ file="${emmet_build_dir}/emmet-app.js"
+ todir="${emmet_build_dir}/komodo/content/js" />
<copy
file="${basedir}/snippets.json"
- todir="${zencoding_build_dir}/komodo/content/js" />
+ todir="${emmet_build_dir}/komodo/content/js" />
- <exec dir="${zencoding_build_dir}/komodo" executable="/Applications/Komodo Edit.app/Contents/SharedSupport/sdk/bin/koext">
+ <exec dir="${emmet_build_dir}/komodo" executable="/Applications/Komodo Edit.app/Contents/SharedSupport/sdk/bin/koext">
<arg value="build"/>
</exec>
</target>
<!-- Plugn for PSPad -->
<target name="plugin.pspad" depends="plugin.generic-full">
- <mkdir dir="${zencoding_build_dir}/pspad"/>
+ <mkdir dir="${emmet_build_dir}/pspad"/>
- <concat destfile="${zencoding_build_dir}/pspad/zencoding.js">
- <filelist dir="${zencoding_plugins_source}/pspad">
+ <concat destfile="${emmet_build_dir}/pspad/emmet.js">
+ <filelist dir="${emmet_plugins_source}/pspad">
<file name="controller.js"/>
</filelist>
- <filelist dir="${zencoding_build_dir}">
- <file name="zencoding-full.js"/>
+ <filelist dir="${emmet_build_dir}">
+ <file name="emmet-full.js"/>
</filelist>
- <filelist dir="${zencoding_plugins_source}/pspad">
+ <filelist dir="${emmet_plugins_source}/pspad">
<file name="editor.js"/>
</filelist>
<filterchain>
<replacetokens>
- <token key="VERSION" value="${zencoding_version}"/>
+ <token key="VERSION" value="${emmet_version}"/>
</replacetokens>
</filterchain>
</concat>
</target>
<!-- Plugn for textarea -->
<target name="plugin.textarea" depends="plugin.generic-full">
- <mkdir dir="${zencoding_build_dir}/textarea"/>
+ <mkdir dir="${emmet_build_dir}/textarea"/>
- <concat destfile="${zencoding_build_dir}/textarea/zencoding.js">
- <filelist dir="${zencoding_build_dir}">
- <file name="zencoding-full.js"/>
+ <concat destfile="${emmet_build_dir}/textarea/emmet.js">
+ <filelist dir="${emmet_build_dir}">
+ <file name="emmet-full.js"/>
</filelist>
- <filelist dir="${zencoding_plugins_source}/textarea">
+ <filelist dir="${emmet_plugins_source}/textarea">
<file name="shortcut.js"/>
<file name="editor.js"/>
<file name="controller.js"/>
</filelist>
</concat>
- <compile-js destfile="${zencoding_build_dir}/textarea/zencoding.min.js">
- <filelist dir="${zencoding_build_dir}/textarea">
- <file name="zencoding.js"/>
+ <compile-js destfile="${emmet_build_dir}/textarea/emmet.min.js">
+ <filelist dir="${emmet_build_dir}/textarea">
+ <file name="emmet.js"/>
</filelist>
</compile-js>
- <copy todir="${zencoding_build_dir}/textarea">
- <filelist dir="${zencoding_plugins_source}/textarea">
+ <copy todir="${emmet_build_dir}/textarea">
+ <filelist dir="${emmet_plugins_source}/textarea">
<file name="index.html"></file>
<file name="zc-powered.png"></file>
</filelist>
</copy>
<zip
- basedir="${zencoding_build_dir}/textarea"
+ basedir="${emmet_build_dir}/textarea"
compress="yes"
level="9"
- destfile="${zencoding_build_dir}/textarea/ZenCoding-textarea-v${zencoding_version}-alpha.zip"
+ destfile="${emmet_build_dir}/textarea/Emmet-textarea-v${emmet_version}.zip"
excludes="*.zip"/>
</target>
<!-- Plugn for Notepad++ -->
<target name="plugin.npp" depends="plugin.app">
- <mkdir dir="${zencoding_build_dir}/npp"/>
+ <mkdir dir="${emmet_build_dir}/npp"/>
- <copy todir="${zencoding_build_dir}/npp">
- <fileset dir="${zencoding_plugins_source}/npp/contrib"/>
- <filelist dir="${zencoding_plugins_source}/npp">
+ <copy todir="${emmet_build_dir}/npp">
+ <fileset dir="${emmet_plugins_source}/npp/contrib"/>
+ <filelist dir="${emmet_plugins_source}/npp">
<file name="README.md"/>
</filelist>
</copy>
- <mkdir dir="${zencoding_build_dir}/npp/jN/includes"/>
+ <mkdir dir="${emmet_build_dir}/npp/jN/includes"/>
- <copy todir="${zencoding_build_dir}/npp/jN/includes">
- <fileset dir="${zencoding_plugins_source}/npp" includes="*.json"/>
+ <copy todir="${emmet_build_dir}/npp/jN/includes">
+ <fileset dir="${emmet_plugins_source}/npp" includes="*.json"/>
<filelist dir="${basedir}">
<file name="snippets.json"/>
</filelist>
</copy>
- <concat destfile="${zencoding_build_dir}/npp/jN/includes/zencoding.js">
- <filelist dir="${zencoding_build_dir}">
- <file name="zencoding-app.js"/>
+ <concat destfile="${emmet_build_dir}/npp/jN/includes/emmet.js">
+ <filelist dir="${emmet_build_dir}">
+ <file name="emmet-app.js"/>
</filelist>
- <filelist dir="${zencoding_plugins_source}/npp">
+ <filelist dir="${emmet_plugins_source}/npp">
<file name="file.js"/>
<file name="editor.js"/>
<file name="bootstrap.js"/>
</filelist>
</concat>
<zip
- basedir="${zencoding_build_dir}/npp"
+ basedir="${emmet_build_dir}/npp"
compress="yes"
level="9"
- destfile="${zencoding_build_dir}/npp/ZenCoding-NotepadPlusPlus-v${zencoding_version}.zip"
+ destfile="${emmet_build_dir}/npp/Emmet-NotepadPlusPlus-v${emmet_version}.zip"
excludes="*.zip"/>
</target>
View
12 build/resources.xml
@@ -2,8 +2,8 @@
<project name="Zen Coding resources" basedir="..">
<property file="${basedir}/build.properties"/>
- <!-- List of Zen Coding JavaScript files -->
- <filelist dir="${zencoding_javascript}" id="javascript.core">
+ <!-- List of Emmet core JavaScript files -->
+ <filelist dir="${emmet_javascript}" id="javascript.core">
<file name="underscore.js"/>
<file name="core.js"/>
@@ -38,11 +38,11 @@
<file name="parsers/editTree/xmlEditTree.js"/>
</filelist>
- <fileset dir="${zencoding_javascript}/filters" id="javascript.filters">
+ <fileset dir="${emmet_javascript}/filters" id="javascript.filters">
<include name="*.js"/>
</fileset>
- <filelist dir="${zencoding_javascript}/actions" id="javascript.actions">
+ <filelist dir="${emmet_javascript}/actions" id="javascript.actions">
<file name="expandAbbreviation.js"/>
<file name="wrapWithAbbreviation.js"/>
<file name="toggleComment.js"/>
@@ -61,11 +61,11 @@
<file name="updateImageSize.js"/>
</filelist>
- <fileset dir="${zencoding_javascript}/generators" id="javascript.generators">
+ <fileset dir="${emmet_javascript}/generators" id="javascript.generators">
<include name="*.js"/>
</fileset>
- <fileset dir="${zencoding_javascript}/resolvers" id="javascript.resolvers">
+ <fileset dir="${emmet_javascript}/resolvers" id="javascript.resolvers">
<include name="*.js"/>
</fileset>
View
6 plugins/codemirror2/README.md
@@ -1,10 +1,10 @@
-To add Zen Coding support for CodeMirror2 editor, simply add `zencoding.js` as a `<script>` tag into your HTML page right after CodeMirror script.
+To add Emmet support for CodeMirror2 editor, simply add `emmet.js` as a `<script>` tag into your HTML page right after CodeMirror script.
-Additionally, you can pass `profile` option into your into CodeMirror's init script to change Zen Coding’s HTML output style:
+Additionally, you can pass `profile` option into your into CodeMirror's init script to change Emmet’s HTML output style:
CodeMirror.fromTextArea(document.getElementById("code"), {
mode : 'text/html',
- profile: 'xhtml' /* define Zen Coding output profile */
+ profile: 'xhtml' /* define Emmet output profile */
});
Available profiles are: _html_, _xhtml_, _xml_, but you can create your own output profile with

0 comments on commit 4677bdd

Please sign in to comment.