From 00dbd10e75e2e370921f00df9d849b115b890921 Mon Sep 17 00:00:00 2001 From: WonYoung Choi Date: Fri, 18 Dec 2015 14:24:22 +0900 Subject: [PATCH] Remove unnecessary files of node-xwalk module Change-Id: I220ef020dfffb01bc2e366f1d96df3ca0c1e11ae --- modules/node-xwalk/README.md | 46 ------------------------ modules/node-xwalk/packaging/node-xwalk.manifest | 5 --- modules/node-xwalk/packaging/node-xwalk.spec | 45 ----------------------- 3 files changed, 96 deletions(-) delete mode 100644 modules/node-xwalk/README.md delete mode 100644 modules/node-xwalk/packaging/node-xwalk.manifest delete mode 100644 modules/node-xwalk/packaging/node-xwalk.spec diff --git a/modules/node-xwalk/README.md b/modules/node-xwalk/README.md deleted file mode 100644 index cca6cb4..0000000 --- a/modules/node-xwalk/README.md +++ /dev/null @@ -1,46 +0,0 @@ -## node-xwalk -Crosswalk Extension Loader for Node.js allows you to use crosswalk extensions in Node.js environment. - -* [Crosswalk Extension](https://github.com/crosswalk-project/crosswalk-website/wiki/Crosswalk-Extensions) - - Crosswalk Extensions allow exposing new functionality to JavaScript environment of your application. - This functionality can be implemented in native code. - * [Writing a Crosswalk Extension](https://github.com/crosswalk-project/crosswalk-website/wiki/Writing-a-Crosswalk-Extension) - * [Writing a GLib based Crosswalk Extension](https://github.com/crosswalk-project/crosswalk-website/wiki/Writing-a-glib-based-Crosswalk-Extension) - -Supported platforms: **Linux** | Other platforms will be supported soon. - -**Echo Sample** -```javascript -var xwalk = require('node-xwalk'); -var echo = xwalk.require('echo'); -echo.echo("Hello Async!!", function(msg) { - console.log(msg); -}); -console.log(echo.syncEcho("Hello Sync!!")); -``` -**Output** -``` -Instance 1 created! -Hello Async!! -Hello Sync!! -``` - -## Getting started -From your project directory, run -``` -$ npm install https://github.com/WonyoungChoi/node-xwalk -``` -This will download and build node-xwalk in ```./node_modules/```. -Then copy the example files from [examples/](https://github.com/WonyoungChoi/node-xwalk/tree/master/examples) directory in this project. - -Build and test a crosswalk extension *'echo example'* with Makefile. -``` -$ make -$ node echo.js -``` - -## License - -**node-xwalk** is available under the BSD licenses, see our `LICENSE` file. - diff --git a/modules/node-xwalk/packaging/node-xwalk.manifest b/modules/node-xwalk/packaging/node-xwalk.manifest deleted file mode 100644 index 75b0fa5..0000000 --- a/modules/node-xwalk/packaging/node-xwalk.manifest +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/modules/node-xwalk/packaging/node-xwalk.spec b/modules/node-xwalk/packaging/node-xwalk.spec deleted file mode 100644 index 14b2a78..0000000 --- a/modules/node-xwalk/packaging/node-xwalk.spec +++ /dev/null @@ -1,45 +0,0 @@ -Name: node-xwalk -Summary: Crosswalk extension loader for Node.JS -Version: 0.9.0 -Release: 1 -Group: Development/Libraries -License: BSD-3-Clause -URL: https:://github.com/WonyoungChoi/node-xwalk -Source0: %{name}-%{version}.tar.gz -Source1: %{name}.manifest - -BuildRequires: cmake -BuildRequires: pkgconfig(nodejs) -Requires: nodejs - -%description -Crosswalk Extension Loader for Node.JS allows you -to use crosswalk extensions in Node.JS environment. - -%prep -%setup -q -cp %{SOURCE1} . - -%build -mkdir -p cmake_build_tmp -cd cmake_build_tmp - -cmake .. \ - -DCMAKE_INSTALL_PREFIX=%{prefix} - -make %{?jobs:-j%jobs} - -%install -rm -rf %{buildroot} -mkdir -p %{buildroot}/usr/share/license -cp LICENSE %{buildroot}/usr/share/license/%{name} -cd cmake_build_tmp -%make_install - -%clean -rm -rf %{buildroot} - -%files -%manifest %{name}.manifest -%{_datadir}/license/%{name} -/usr/local/lib/node_modules/%{name}/* -- 2.7.4