Skip to content

Commit

Permalink
Update script for packaging inside docker
Browse files Browse the repository at this point in the history
  • Loading branch information
recrsn committed Aug 16, 2023
1 parent 1969d96 commit a0a88a8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
15 changes: 15 additions & 0 deletions test-docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/sh

set -xe

echo "Running on $(node -v)"

# Cleanup
rm -rf node_modules build-tmp-* lib/binding

# Install build dependencies
if [ -f /etc/alpine-release ]; then
apk add --no-cache --virtual .build-deps make gcc g++ python3
fi

su node -c "npm test; npx node-pre-gyp package"
12 changes: 0 additions & 12 deletions test_alpine.sh

This file was deleted.

0 comments on commit a0a88a8

Please sign in to comment.