mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-19 12:11:28 +02:00
Added it translation. Switched to wepp.
This commit is contained in:
BIN
tools/scripp.jar
BIN
tools/scripp.jar
Binary file not shown.
4
tools/wepp
Executable file
4
tools/wepp
Executable file
@@ -0,0 +1,4 @@
|
||||
#! /usr/bin/env node
|
||||
// -*- js -*-
|
||||
|
||||
require("wepp").processArgs(process.argv);
|
40
tools/wepp.ant.xml
Normal file
40
tools/wepp.ant.xml
Normal file
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<project name="wepp.macros" basedir=".">
|
||||
|
||||
<macrodef name="wepp">
|
||||
<attribute name="file" />
|
||||
<attribute name="toFile" />
|
||||
<attribute name="args" default="" />
|
||||
<sequential>
|
||||
<exec executable="${wepp}">
|
||||
<arg line="@{args}" />
|
||||
<arg value="--in" />
|
||||
<arg value="@{file}" />
|
||||
<arg value="--out" />
|
||||
<arg value="@{toFile}" />
|
||||
</exec>
|
||||
</sequential>
|
||||
</macrodef>
|
||||
|
||||
<macrodef name="wepp.dir">
|
||||
<attribute name="dir" />
|
||||
<attribute name="args" default="" />
|
||||
<sequential>
|
||||
<exec executable="${wepp}">
|
||||
<arg line="@{args}" />
|
||||
<arg value="--inDir" />
|
||||
<arg value="@{dir}" />
|
||||
<arg value="--outDir" />
|
||||
<arg value="@{dir}" />
|
||||
</exec>
|
||||
<delete dir="@{dir}/inc">
|
||||
<fileset
|
||||
dir="."
|
||||
includes="@{dir}/**/*.less"
|
||||
excludes="@{dir}/inc/**,@{dir}/lib/**"
|
||||
/>
|
||||
</delete>
|
||||
</sequential>
|
||||
</macrodef>
|
||||
|
||||
</project>
|
Reference in New Issue
Block a user