Skip to content

Commit

Permalink
Clean up and seutp auto build
Browse files Browse the repository at this point in the history
  • Loading branch information
AGCTLabs committed Aug 9, 2013
1 parent dce1602 commit 894d206
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions build.sh
@@ -1,7 +1,5 @@
npm install

rm -rf lib/libospi.so lib/libospi.so.1.0.1 build
mkdir build
mkdir build logs

gcc -fPIC -g -c -Wall src/ospijs.c -o build/ospijs.o
gcc -shared -Wl,-soname,libospi.so -o libospi.so.1.0.1 build/ospijs.o -lc
Expand Down
Binary file removed lib/libospi.so.1.0.1
Binary file not shown.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -25,7 +25,7 @@
"underscore": ">= 1.4.4"
},
"scripts": {
"postinstall" : "sh build.sh"
}
"install" : "sh ./build.sh"
},
"license": "MIT"
}

0 comments on commit 894d206

Please sign in to comment.