blob: b2b3876cf15301e05c2b1987f7183c46597cd5cc [file] [log] [blame]
Jens Geyerbd52f1a2014-07-28 01:25:30 +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 gen-haxe
23-cp ../../lib/haxe/src
24
25#this class wil be used as entry point for your app.
26-main Main
27
28#JavaScript target
29-js bin/Tutorial.js
30
31#You can use -D source-map-content (requires Haxe 3.1+) to have the .hx
32#files directly embedded into the map file, this way you only have to
33#upload it, and it will be always in sync with the compiled .js even if
34#you modify your .hx files.
35-D source-map-content
36
37#Generate source map and add debug information
38-debug
39
40#dead code elimination : remove unused code
41#"-dce no" : do not remove unused code
42#"-dce std" : remove unused code in the std lib (default)
43#"-dce full" : remove all unused code
44-dce full