Mise à jour du processus de construction des paquets via Drone

这个提交包含在:
wpetit 2017-07-24 18:38:32 +02:00
父节点 56732e585d
当前提交 97247483f9
共有 3 个文件被更改,包括 16 次插入6 次删除

查看文件

@ -1,9 +1,9 @@
---
pipeline:
test:
image: alpine:3.6
image: node:6-alpine
commands:
- apk add --no-cache nodejs nodejs-npm firefox-esr
- apk add --no-cache firefox-esr
- npm install
- npm test
package-64:

10
.tamarin/prebuild 可执行文件
查看文件

@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -o pipefail
set -e
# Install NodeJS into the container
apt-get update
apt-get install --yes --no-install-recommends curl ca-certificates
curl --silent --location https://deb.nodesource.com/setup_6.x | bash -
apt-get install --yes nodejs

查看文件

@ -8,11 +8,11 @@ endif
all: build
clean:
rm -rf node_modules
rm -rf dist
build:
apt-get update
apt-get install --yes --no-install-recommends curl ca-certificates
curl --silent --location https://deb.nodesource.com/setup_6.x | bash -
apt-get install --yes nodejs
npm install --ignore-scripts
ARCH=$(ELECTRON_ARCH) npm run build