blob: 496e780baa17abed7b4eac2e96161668292c589b [file] [log] [blame]
Jens Geyerfea00ac2014-10-01 02:22:48 +02001#
2# Licensed to the Apache Software Foundation (ASF) under one
3# or more contributor license agreements. See the NOTICE file
4# distributed with this work for additional information
5# regarding copyright ownership. The ASF licenses this file
6# to you under the Apache License, Version 2.0 (the
7# "License"); you may not use this file except in compliance
8# with the License. You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing,
13# software distributed under the License is distributed on an
14# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15# KIND, either express or implied. See the License for the
16# specific language governing permissions and limitations
17# under the License.
18#
19
20#integrate files to classpath
21-cp src
22-cp ../src
23-cp gen-haxe
24
25#this class wil be used as entry point for your app.
26-main Main
27
Jens Geyer76283922022-06-11 14:24:33 +020028# forced compile of all source files
29--macro include('org.apache.thrift', true)
30--macro include('thrift', true)
31--macro include('constantsDemo', true)
32
Jens Geyerfea00ac2014-10-01 02:22:48 +020033#JavaScript target
34-js bin/Test.js
35
36#You can use -D source-map-content (requires Haxe 3.1+) to have the .hx
37#files directly embedded into the map file, this way you only have to
38#upload it, and it will be always in sync with the compiled .js even if
39#you modify your .hx files.
40-D source-map-content
41
42#Generate source map and add debug information
43-debug
44
45#dead code elimination : remove unused code
46#"-dce no" : do not remove unused code
47#"-dce std" : remove unused code in the std lib (default)
48#"-dce full" : remove all unused code
49-dce full