File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 "main" : " index.js" ,
77 "scripts" : {
88 "BigRedButton" : " scripts/BigRedButton" ,
9- "install" : " prebuild --download https://github.com/NodeOS/genfatfs/releases/download/v{version}/{platform}-{arch}.tar.gz" ,
9+ "build" : " scripst/build" ,
10+ "install" : " prebuild-install -d https://github.com/NodeOS/genfatfs/releases/download/v{version}/{platform}-{arch}.tar.gz || npm run build" ,
1011 "start" : " ./genfatfs"
1112 },
1213 "repository" : {
2930 },
3031 "homepage" : " https://github.com/NodeOS/genfatfs#readme" ,
3132 "dependencies" : {
33+ "prebuild-install" : " ^1.0.1"
34+ },
35+ "devDpendencies" : {
3236 "prebuild" : " piranna/prebuild"
3337 }
3438}
Original file line number Diff line number Diff line change 44# Build genfatfs
55#
66
7- make || exit 1
7+ scripts/build || exit 1
88
99#
1010# Pack genfatfs in a node-gyp compatible way
2727
2828MACHINE=" ` uname -m` "
2929case $MACHINE in
30+ ' i686' ) ARCH=ia32 ;;
31+
3032 ' x86_64' ) ARCH=x64 ;;
3133
3234 * )
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env sh
2+
3+ make || exit $?
You can’t perform that action at this time.
0 commit comments