Skip to content
This repository was archived by the owner on Apr 13, 2018. It is now read-only.

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
Init checkin
  • Loading branch information
fiz1962 authored Mar 19, 2018
1 parent 041097c commit 59ca12f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions package.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

rm -rf node_modules
npm install --production
rm -f SHA256SUMS
sha256sum package.json *.js LICENSE espThing.ino phpThings.tgz > SHA256SUMS
find node_modules -type f -exec sha256sum {} \; >> SHA256SUMS
TARFILE=$(npm pack)
tar xzf ${TARFILE}
cp -r node_modules ./package
tar czf ${TARFILE} package
rm -rf package
echo "Created ${TARFILE}"

0 comments on commit 59ca12f

Please sign in to comment.