Jens Geyer | bd52f1a | 2014-07-28 01:25:30 +0200 | [diff] [blame] | 1 | # |
| 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 |
Jens Geyer | 18564d2 | 2022-06-05 11:36:40 +0200 | [diff] [blame] | 29 | -js bin/ThriftTest.js |
Jens Geyer | bd52f1a | 2014-07-28 01:25:30 +0200 | [diff] [blame] | 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 | |
Jens Geyer | 18564d2 | 2022-06-05 11:36:40 +0200 | [diff] [blame] | 37 | # libs |
| 38 | -lib uuid |
| 39 | |
Jens Geyer | bd52f1a | 2014-07-28 01:25:30 +0200 | [diff] [blame] | 40 | #Generate source map and add debug information |
| 41 | -debug |
| 42 | |
| 43 | #dead code elimination : remove unused code |
Jens Geyer | bd52f1a | 2014-07-28 01:25:30 +0200 | [diff] [blame] | 44 | -dce full |