Mise à jour du processus de construction des paquets via Drone

このコミットが含まれているのは:
wpetit 2017-07-24 18:38:32 +02:00
コミット 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