summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorBogdan Gheorghe2013-01-31 14:27:16 (EST)
committer Silenio Quarti2013-01-31 14:27:16 (EST)
commit5029baaa4d4e47599672c0cd77bd3f6d15f346b4 (patch)
tree9652008dbdb5e0bd1040ecf41a6fbfe016c446ca
parentdbb4831f44a3b516fffc676656faf5248576f2ee (diff)
downloadorg.eclipse.orion.client-5029baaa4d4e47599672c0cd77bd3f6d15f346b4.zip
org.eclipse.orion.client-5029baaa4d4e47599672c0cd77bd3f6d15f346b4.tar.gz
org.eclipse.orion.client-5029baaa4d4e47599672c0cd77bd3f6d15f346b4.tar.bz2
Bug 399673 - [Consumability] Provide a build for the Orion editor - adding build options file
-rw-r--r--bundles/org.eclipse.orion.client.editor/build/config-css.js17
-rw-r--r--bundles/org.eclipse.orion.client.editor/build/config-js.js33
2 files changed, 50 insertions, 0 deletions
diff --git a/bundles/org.eclipse.orion.client.editor/build/config-css.js b/bundles/org.eclipse.orion.client.editor/build/config-css.js
new file mode 100644
index 0000000..04f8cc5
--- /dev/null
+++ b/bundles/org.eclipse.orion.client.editor/build/config-css.js
@@ -0,0 +1,17 @@
+/*******************************************************************************
+ * @license
+ * Copyright (c) 2013 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials are made
+ * available under the terms of the Eclipse Public License v1.0
+ * (http://www.eclipse.org/legal/epl-v10.html), and the Eclipse Distribution
+ * License v1.0 (http://www.eclipse.org/org/documents/edl-v10.html).
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+({
+ baseUrl: "../../web/",
+ cssIn: "../../web/examples/editor/themes/default.css",
+ out: "test/orioneditor.css"
+}) \ No newline at end of file
diff --git a/bundles/org.eclipse.orion.client.editor/build/config-js.js b/bundles/org.eclipse.orion.client.editor/build/config-js.js
new file mode 100644
index 0000000..6839192
--- /dev/null
+++ b/bundles/org.eclipse.orion.client.editor/build/config-js.js
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * @license
+ * Copyright (c) 2013 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials are made
+ * available under the terms of the Eclipse Public License v1.0
+ * (http://www.eclipse.org/legal/epl-v10.html), and the Eclipse Distribution
+ * License v1.0 (http://www.eclipse.org/org/documents/edl-v10.html).
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+({
+ baseUrl: "../../web/",
+ closure: {
+ CompilerOptions: {},
+ CompilationLevel: 'SIMPLE_OPTIMIZATIONS',
+ loggingLevel: 'WARNING'
+ },
+ paths: {
+ i18n: '../../org.eclipse.orion.client.core/web/requirejs/i18n'
+ },
+ name: "orion/editor/edit",
+ preserveLicenseComments: false,
+ uglify: {
+ ascii_only: true
+ },
+ wrap: {
+ start: "",
+ end: "\ndefine(['orion/editor/edit'], function(edit) {return edit;});"
+ },
+ out: "test/orioneditor.js"
+}) \ No newline at end of file