File: install_scripts_only_js.patch

package info (click to toggle)
css-validator 0~20250226%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 19,368 kB
  • sloc: java: 144,868; lisp: 1,153; makefile: 724; javascript: 485; xml: 423; cs: 290; sh: 175; perl: 35
file content (15 lines) | stat: -rw-r--r-- 761 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Install only *.js files from scripts/ folder
Author: Fab Stz <fabtz-it@yahoo.fr>
Forwarded: https://github.com/w3c/css-validator/pull/456

--- a/build.xml
+++ b/build.xml
@@ -148,7 +148,7 @@
 
   <target name="war" depends="build, buildhtml" description="Creates the webapp module">
     <delete file="${war.file}"/>
-    <war warfile="${war.file}" webxml="web.xml" basedir="." includes="*html*,favicon.ico,images/**,style/**,scripts/**,tabtastic/**" excludes="html,css-validator.*">
+    <war warfile="${war.file}" webxml="web.xml" basedir="." includes="*html*,favicon.ico,images/**,style/**,scripts/**.js,tabtastic/**" excludes="html,css-validator.*">
       <classes dir="build"/>
       <lib dir="lib">
         <exclude name="*servlet*.jar"/>