File tree Expand file tree Collapse file tree 4 files changed +35
-29
lines changed Expand file tree Collapse file tree 4 files changed +35
-29
lines changed Original file line number Diff line number Diff line change 33 "version" : " 1.0.0-RC3.0" ,
44 "description" : " Generate a NodeOS initramfs" ,
55 "scripts" : {
6+ "BigRedButton" : " scripts/BigRedButton" ,
67 "build" : " scripts/build" ,
7- "install" : " prebuild-install || (buildDependencies && npm run build)" ,
8+ "install" : " prebuild-install -d https://github.com/NodeOS/nodeos-initramfs/releases/download/v{version}/{platform}-{arch}.tar.gz || (buildDependencies && npm run build)" ,
89 "start" : " scripts/start" ,
910 "postinstall" : " scripts/postinstall" ,
10- "prepublish " : " scripts/prepublish " ,
11+ "pretest " : " scripts/pretest " ,
1112 "test" : " scripts/test" ,
1213 "unbuild" : " scripts/unbuild"
1314 },
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ # This script should generate all the possible build combinations of
4+ # nodeos-barebones and test them by being able to exec a Node.js REPL. In some
5+ # cases this could not be fully possible and so the tests should be improved in
6+ # the future
7+
8+
9+ BUILD=" npm run build --no-spin"
10+ TEST=" npm test"
11+
12+
13+ eval MACHINE=pc BITS=32 $BUILD && MACHINE=pc BITS=32 $TEST || exit 1
14+ eval MACHINE=pc BITS=64 $BUILD && MACHINE=pc BITS=64 $TEST || exit 2
15+ eval MACHINE=raspi2 $BUILD || exit 3
16+
17+
18+ #
19+ # Upload release to GitHub
20+ #
21+
22+ if [ " $GITHUB_TOKEN " ]; then
23+ prebuild --upload-all $GITHUB_TOKEN || exit 10
24+ fi
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+
4+ npm install nodeos-barebones qemu suppose
5+
6+ cd ` node -p " require('nodeos-barebones')" `
7+
8+ npm install --production
You can’t perform that action at this time.
0 commit comments