@makano/rew 1.1.71 → 1.1.73
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/bin/ui +0 -0
- package/build.sh +3 -1
- package/meson.build +13 -0
- package/package.json +3 -2
package/README.md
CHANGED
@@ -12,7 +12,7 @@ Rew
|
|
12
12
|
<a href="https://www.npmjs.com/package/rayous"> <img src="https://img.shields.io/npm/v/@makano/rew?style=for-the-badge&logo=npm&color=b4befe&logoColor=9399b2&labelColor=181825" alt="npm version" /></a>
|
13
13
|
</p>
|
14
14
|
|
15
|
-
|
15
|
+
Rew is a simple lightweight coffeescript runtime, made to simply using coffescript and revive it
|
16
16
|
in the process.
|
17
17
|
|
18
18
|
## Getting Started
|
package/bin/ui
CHANGED
Binary file
|
package/build.sh
CHANGED
@@ -3,4 +3,6 @@ opath=./bin/ui
|
|
3
3
|
if [ $1 ]; then
|
4
4
|
opath=$1
|
5
5
|
fi
|
6
|
-
g++ ./cpp/ui.cpp -o $opath `pkg-config --cflags --libs gtk+-3.0 webkit2gtk-4.0 libwebsockets jsoncpp`
|
6
|
+
# g++ ./cpp/ui.cpp -o $opath `pkg-config --cflags --libs gtk+-3.0 webkit2gtk-4.0 libwebsockets jsoncpp`
|
7
|
+
meson build
|
8
|
+
cd build && ninja && mv ./ui $opath && cd ../ && rm -r ./build
|
package/meson.build
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
project('rew', 'cpp',
|
2
|
+
version : '0.1',
|
3
|
+
default_options : ['warning_level=3', 'cpp_std=c++14'])
|
4
|
+
|
5
|
+
gtk3 = dependency('gtk+-3.0', method : 'pkg-config')
|
6
|
+
webkit2gtk = dependency('webkit2gtk-4.0', method : 'pkg-config')
|
7
|
+
libwebsockets = dependency('libwebsockets', method : 'pkg-config')
|
8
|
+
jsoncpp = dependency('jsoncpp', method : 'pkg-config')
|
9
|
+
|
10
|
+
executable('ui',
|
11
|
+
'cpp/ui.cpp',
|
12
|
+
install : true,
|
13
|
+
dependencies : [gtk3, webkit2gtk, libwebsockets, jsoncpp])
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@makano/rew",
|
3
|
-
"version": "1.1.
|
3
|
+
"version": "1.1.73",
|
4
4
|
"description": "A simple coffescript runtime",
|
5
5
|
"main": "lib/rew/main.js",
|
6
6
|
"directories": {
|
@@ -13,6 +13,7 @@
|
|
13
13
|
"lib/",
|
14
14
|
"cpp/",
|
15
15
|
"bin/",
|
16
|
+
"meson.build",
|
16
17
|
"build.sh",
|
17
18
|
"README.md"
|
18
19
|
],
|
@@ -23,7 +24,7 @@
|
|
23
24
|
"type": "git",
|
24
25
|
"url": "git+https://github.com/kevinj045/rew.git"
|
25
26
|
},
|
26
|
-
"keywords": [],
|
27
|
+
"keywords": ["coffescript", "rew", "runtime"],
|
27
28
|
"author": "makano",
|
28
29
|
"license": "ISC",
|
29
30
|
"dependencies": {
|