This is an automated email from the ASF dual-hosted git repository.
carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new f41bcb0 crux: fix asconfig.json to work on VSCode
f41bcb0 is described below
commit f41bcb0e2fd4a5fcaad92156e9cce849e9626209
Author: Carlos Rovira <[email protected]>
AuthorDate: Mon Feb 17 12:54:15 2020 +0100
crux: fix asconfig.json to work on VSCode
---
frameworks/projects/Crux/asconfig.json | 45 ++++++++++++++++++++++------------
1 file changed, 29 insertions(+), 16 deletions(-)
diff --git a/frameworks/projects/Crux/asconfig.json
b/frameworks/projects/Crux/asconfig.json
index 62bc897..c9473ca 100644
--- a/frameworks/projects/Crux/asconfig.json
+++ b/frameworks/projects/Crux/asconfig.json
@@ -1,21 +1,34 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
{
"config": "royale",
+ "type": "lib",
"compilerOptions": {
"debug": true,
- "js-output-type": "royale",
- "define": [
- {
- "name": "COMPILE::SWF",
- "value": true
- },
- {
- "name": "COMPILE::JS",
- "value": false
- }
- ]
- },
- "files":
- [
- "src/main/royale/CruxClasses.as"
- ]
+ "targets": [
+ "JSRoyale", "SWF"
+ ],
+ "include-classes": [
+ "src/main/royale/CruxClasses.as"
+ ],
+ "source-path": [
+ "src/main/royale"
+ ],
+ "source-map": true,
+ "output": "target/Crux.swc"
+ }
}