File tree Expand file tree Collapse file tree 5 files changed +14
-44
lines changed
Expand file tree Collapse file tree 5 files changed +14
-44
lines changed Original file line number Diff line number Diff line change 1- dev
2- ---
3- * ` MicroPythonDevice.getFileHash(filename: string) ` / ` mctl sha256 <filename> `
4- * Check if file is already the same
5- * ` MicroPythonDevice.isFileTheSame(filename: string, data: Buffer) `
6- * ` putFile ` option ` checkIfSimilarBeforeUpload ` to avoid uploading another the file if it's already there (requires one more ` runScript ` if uploading)
7-
8-
9- 1.7.3 (2021-01-15)
10- ------------------
11- First pretty feature-complete, allround tested version.
12-
13- ` mctl ` works on Windows, Linux and macOS!
14-
15-
16- 1.7.2 (2021-01-13)
1+ 1.10.0 (28.1.2021)
172------------------
18- * many improvements and adding missing commands to the module and mctl
19- * mounting the device with FUSE
20-
21-
22- 1.7.0 (2021-01-08)
23- ------------------
24- * ` putFile `
25- * ` getFile ` returns Buffer
26- * ` mctl mkdir `
27- * ` mctl rm [-r] `
28-
29-
30- 1.6.0 (2021-01-05)
31- ------------------
32-
33- * renamed ` examples/cli.js ` -> ` examples/mctl.js ` (and ` yarn cli ` to ` yarn mctl ` )
34- * ` mctl repl ` : open a REPL terminal
35- * ` mctl version ` : print the current version
36-
37-
38- 1.5.2 (2021-01-05)
39- -----------------------
403
41- * Command-line tool ` mctl ` (` examples/cli.js ` )
42- * bugfix in ` listFiles ` for browser
4+ * First feature-complete, allround tested version.
5+ * ` mctl ` works on Windows, Linux and macOS!
6+ * See also https://github.com/metachris/micropython-ctl
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ yarn clean
55# Build Node.js version
66yarn buildNode
77cd dist-node
8- ln -s ../package.json
8+ cp ../package.json .
99cd ..
1010
1111# Build browser version
Original file line number Diff line number Diff line change 1212 "author" : " Chris Hager <chris@linuxuser.at>" ,
1313 "license" : " MIT" ,
1414 "scripts" : {
15- "clean" : " rm -rf dist dist-node dist-browser build lib" ,
15+ "clean" : " rm -rf dist dist-node dist-browser build lib package *.tgz " ,
1616 "lint" : " tslint -c tslint.json 'src/**/*.ts' 'test/**/*.ts'" ,
1717 "build" : " ./build.sh" ,
1818 "buildNode" : " tsc -p tsconfig.json" ,
Original file line number Diff line number Diff line change 1+ set FILE = E:\micropython-ctl-v1.7.3.tgz
2+
13echo " Uninstall and clear caches..."
24call npm uninstall --global micropython-ctl node-fuse-bindings
35cd C:\Users\IEUser\AppData\Local\Yarn\Cache\v6
@@ -12,9 +14,10 @@ echo "-------------------------------------"
1214echo " Testing local installation..."
1315echo " -------------------------------------"
1416call npm init -y
15- call npm install E:\micropython-ctl-v1.7.2.tgz
17+ call npm install %FILE%
1618
1719echo " Testing mctl..."
20+ call ./node_modules/.bin/mctl version
1821call ./node_modules/.bin/mctl ls
1922call ./node_modules/.bin/mctl run-tests
2023call ./node_modules/.bin/mctl mount
@@ -25,9 +28,10 @@ echo "-------------------------------------"
2528
2629cd ..
2730call rm -r C:\x\tests
28- call npm install -g E:\micropython-ctl-v1.7.2.tgz
31+ call npm install -g %FILE%
2932
3033echo " Testing mctl..."
34+ call mctl version
3135call mctl ls
3236call mctl run-tests
3337call mctl mount
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ echo "-------------------------------------"
3131npm install $PACKAGE
3232
3333echo " Testing mctl..."
34+ ./node_modules/.bin/mctl version
3435./node_modules/.bin/mctl ls
3536./node_modules/.bin/mctl run-tests
3637./node_modules/.bin/mctl mount || true
@@ -43,6 +44,7 @@ npm install -g $PACKAGE
4344
4445echo " Testing mctl..."
4546which mctl
47+ mctl version
4648mctl ls
4749mctl run-tests
4850mctl mount || true
You can’t perform that action at this time.
0 commit comments