Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
253 changed files
with
748 additions
and
299 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
|
||
# Build folders to ignore | ||
bin | ||
build | ||
#target | ||
|
||
# Eclipse | ||
.classpath | ||
.ant-targets-build.xml | ||
|
||
# Numerous always-ignore extensions | ||
*.diff | ||
*.err | ||
*.orig | ||
*.log | ||
*.rej | ||
*.swo | ||
*.swp | ||
*.vi | ||
*~ | ||
*.sass-cache | ||
|
||
# OS or Editor folders | ||
.DS_Store | ||
.cache | ||
.project | ||
.settings | ||
.tmproj | ||
nbproject | ||
Thumbs.db | ||
|
||
# Dreamweaver added files | ||
_notes | ||
dwsync.xml | ||
|
||
# Komodo | ||
*.komodoproject | ||
.komodotools | ||
|
||
# Folders to ignore | ||
.hg | ||
.svn | ||
.CVS | ||
intermediate | ||
publish | ||
.idea | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
custom = true | ||
|
||
|
||
# project | ||
project.name = h5ai | ||
project.version = 0.3 | ||
|
||
|
||
# src | ||
src.dir = src | ||
|
||
|
||
# build | ||
build.dir = target | ||
|
||
|
||
# libs | ||
lib.scripp.jar = tools/scripp.jar | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<project | ||
name="h5ai" | ||
basedir="." | ||
xmlns:scripp="antlib:de.larsjung.scripp.ant" | ||
> | ||
<target name="init"> | ||
<property file="build.properties" /> | ||
<tstamp> | ||
<format property="build.stamp" pattern="yyyy-MM-dd-HHmmss" /> | ||
</tstamp> | ||
<property name="build.label" value="${project.name} ${project.version} b${build.stamp}" /> | ||
<echo>Build: ${build.label}</echo> | ||
<taskdef | ||
resource="de/larsjung/scripp/ant/antlib.xml" | ||
uri="antlib:de.larsjung.scripp.ant" | ||
classpath="${lib.scripp.jar}" | ||
/> | ||
</target> | ||
|
||
|
||
<target name="clean" depends="init"> | ||
<delete dir="${build.dir}" /> | ||
</target> | ||
|
||
|
||
<target name="build" depends="clean"> | ||
<mkdir dir="${build.dir}" /> | ||
<copy todir="${build.dir}"> | ||
<fileset dir="${src.dir}" /> | ||
</copy> | ||
<replace dir="${build.dir}"> | ||
<replacefilter token="%BUILD%" value="${build.label}" /> | ||
<replacefilter token="%BUILD_NAME%" value="${project.name}" /> | ||
<replacefilter token="%BUILD_VERSION%" value="${project.version}" /> | ||
<replacefilter token="%BUILD_STAMP%" value="${build.stamp}" /> | ||
</replace> | ||
|
||
<scripp.dir dir="${build.dir}/h5ai/css" /> | ||
<scripp.dir dir="${build.dir}/h5ai/js" /> | ||
</target> | ||
|
||
|
||
<macrodef name="scripp.dir"> | ||
<attribute name="dir" /> | ||
<sequential> | ||
<scripp:process> | ||
<fileset dir="@{dir}" includes="**/*.less,**/*.css,**/*.js" excludes="inc/**/*,**/*.min.css,**/*.min.js" /> | ||
<globmapper from="*.less" to="*.css" /> | ||
<globmapper from="*.css" to="*.css" /> | ||
<globmapper from="*.js" to="*.js" /> | ||
</scripp:process> | ||
<delete dir="@{dir}/inc"> | ||
<fileset dir="@{dir}" includes="**/*.less" /> | ||
</delete> | ||
</sequential> | ||
</macrodef> | ||
</project> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.