| author | Bogdan Gheorghe | 2013-01-31 14:27:16 (EST) |
|---|---|---|
| committer | Silenio Quarti | 2013-01-31 14:27:16 (EST) |
| commit | 123892e51be500f9cab41c17011a39788ee7e482 (patch) (side-by-side diff) | |
| tree | 9652008dbdb5e0bd1040ecf41a6fbfe016c446ca | |
| parent | ce56432ad58384f4e1742896550d7aa272c1ab8f (diff) | |
| download | org.eclipse.orion.client-123892e51be500f9cab41c17011a39788ee7e482.zip org.eclipse.orion.client-123892e51be500f9cab41c17011a39788ee7e482.tar.gz org.eclipse.orion.client-123892e51be500f9cab41c17011a39788ee7e482.tar.bz2 | |
Bug 399673 - [Consumability] Provide a build for the Orion editor - adding build options filev20130131-1927
| -rw-r--r-- | bundles/org.eclipse.orion.client.editor/build/config-css.js | 17 | ||||
| -rw-r--r-- | bundles/org.eclipse.orion.client.editor/build/config-js.js | 33 |
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 --- a/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 --- a/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 |

