Skip to content

Commit

Permalink
Switch the order
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-robert committed Jun 4, 2024
1 parent cd621aa commit 434f1a1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ npm link ../pxt
# Add ml extension
node -e "const f = 'pxtarget.json'; const data = fs.readFileSync(f, 'utf8'); fs.writeFileSync(f, data.replace('\"libs/core\",', '\"libs/core\",\"libs/machine-learning-poc\",\"libs/ml-runner-poc\",'))"
cd libs
git clone -b v0.3.0 [email protected]:microbit-foundation/pxt-ml-extension-poc.git
mv pxt-ml-extension-poc machine-learning-poc
cd machine-learning-poc
node -e "const f = 'pxt.json'; const data = fs.readFileSync(f, 'utf8'); fs.writeFileSync(f, data.replace('*', 'file:../core').replace('github:microbit-foundation/pxt-ml-runner-poc#v0.3.2', 'file:../ml-runner-poc').replace('Machine Learning POC', 'machine-learning-poc'))"
pxt install
cd ..
git clone -b v0.3.2 [email protected]:microbit-foundation/pxt-ml-runner-poc.git
mv pxt-ml-runner-poc ml-runner-poc
cd ml-runner-poc
node -e "const f = 'pxt.json'; const data = fs.readFileSync(f, 'utf8'); fs.writeFileSync(f, data.replace('*', 'file:../core'))"
pxt install
cd ..
git clone -b v0.3.0 [email protected]:microbit-foundation/pxt-ml-extension-poc.git
mv pxt-ml-extension-poc machine-learning-poc
cd machine-learning-poc
node -e "const f = 'pxt.json'; const data = fs.readFileSync(f, 'utf8'); fs.writeFileSync(f, data.replace('*', 'file:../core').replace('github:microbit-foundation/pxt-ml-runner-poc#v0.3.2', 'file:../ml-runner-poc').replace('Machine Learning POC', 'machine-learning-poc'))"
pxt install
cd ../..

pxt staticpkg

0 comments on commit 434f1a1

Please sign in to comment.