chore: correct postinstall.sh script
This commit is contained in:
parent
5af57922db
commit
9f1db3f2bc
|
@ -3,8 +3,7 @@
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"description": "Angular",
|
"description": "Angular",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
"postinstall": "./postinstall.sh"
|
|
||||||
},
|
},
|
||||||
"author": "Tobias Bosch <tbosch@google.com>",
|
"author": "Tobias Bosch <tbosch@google.com>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
git submodule init && git submodule update
|
||||||
|
|
||||||
rm node_modules/traceur
|
rm node_modules/traceur
|
||||||
ln -s ../tools/traceur node_modules/traceur
|
ln -s ../tools/traceur node_modules/traceur
|
||||||
|
|
||||||
rm node_modules/js2dart
|
rm node_modules/js2dart
|
||||||
ln -s ../tools/j2dart node_modules/js2dart
|
ln -s ../tools/js2dart node_modules/js2dart
|
||||||
|
|
||||||
cd tools/traceur
|
(cd tools/traceur; npm install)
|
||||||
npm install
|
|
||||||
|
|
||||||
cd ../js2dart
|
(cd tools/js2dart; npm install)
|
||||||
npm install
|
|
||||||
|
|
Loading…
Reference in New Issue