Skip to content

Commit afc98b6

Browse files
committed
build: enable deploy build on PR (#524)
Still, release would be published while tag exists
1 parent 2de7267 commit afc98b6

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
stages:
22
- test
3-
- name: deploy
4-
if: tag IS present
3+
- deploy
54

65
language: c
76
os: linux
@@ -54,7 +53,7 @@ fast_finish: true
5453

5554
.deploy_job_template: &deploy_job_template
5655
script:
57-
- tools/build.py --buildtype release --clean --static --install --install-prefix $(pwd)/build/usr
56+
- tools/build.py --buildtype release --clean --static --napi --install --install-prefix $(pwd)/build/usr
5857
- tar -czf shadow-node-${TRAVIS_TAG}-$(uname)-$(uname -m).tar.gz -C build ./usr
5958
deploy:
6059
provider: releases

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22

33
The Node.js runtime in shadow, enables N-API and vast Node.js packages on edge devices.
44

5-
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6f931ad604184a409622825d8aacdf9f)](https://app.codacy.com/app/legendecas/ShadowNode?utm_source=github.com&utm_medium=referral&utm_content=Rokid/ShadowNode&utm_campaign=badger)
6-
[![Build Status](https://travis-ci.org/Rokid/ShadowNode.svg?branch=master)](https://travis-ci.org/Rokid/ShadowNode)
5+
[![Build Status](https://travis-ci.org/yodaos-project/ShadowNode.svg?branch=master)](https://travis-ci.org/yodaos-project/ShadowNode)
76
[![License](https://img.shields.io/badge/licence-Apache%202.0-brightgreen.svg?style=flat)](LICENSE)
8-
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FRokid%2Fshadow-node.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FRokid%2Fshadow-node?ref=badge_shield)
97

108
The project is another runtime for your [Node.js][] packages, while ShadowNode is designed to be used on memory limited devices. It's inspired and forked from the awesome project [Samsung/iotjs][].
119

1210
## Quick Start
1311

14-
To get started with ShadowNode, you could download prebuilt binaries on [Release Page](https://github.com/Rokid/ShadowNode/releases) for following targets:
12+
To get started with ShadowNode, you could download prebuilt binaries on [Release Page](https://github.com/yodaos-project/ShadowNode/releases) for following targets:
1513

1614
- Linux x64
1715
- macOS x64
@@ -27,7 +25,7 @@ To get started with ShadowNode, you could download prebuilt binaries on [Release
2725

2826
##### Fetch source code
2927
```sh
30-
$ git clone https://github.com/Rokid/ShadowNode.git
28+
$ git clone https://github.com/yodaos-project/ShadowNode.git
3129
$ cd ShadowNode
3230
```
3331

@@ -102,7 +100,7 @@ start hacking with JavaScript:
102100
[ShadowNode][] is Open Source software under the [Apache 2.0 license][].
103101
Complete license and copyright information can be found within the code.
104102

105-
[ShadowNode]: https://github.com/Rokid/ShadowNode
103+
[ShadowNode]: https://github.com/yodaos-project/ShadowNode
106104
[Node.js]: https://github.com/nodejs/node
107105
[Iot.js]: https://github.com/Samsung/iotjs
108106
[Samsung/iotjs]: https://github.com/Samsung/iotjs

cmake/iotjs.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,7 @@ if(NOT BUILD_LIB_ONLY)
499499

500500
install(TARGETS ${TARGET_IOTJS} ${TARGET_LIB_IOTJS}
501501
RUNTIME DESTINATION "${INSTALL_PREFIX}/bin"
502+
ARCHIVE DESTINATION "${INSTALL_PREFIX}/lib"
502503
LIBRARY DESTINATION "${INSTALL_PREFIX}/lib"
503504
PUBLIC_HEADER DESTINATION "${INSTALL_PREFIX}/include/shadow-node")
504505
else()

0 commit comments

Comments
 (0)