Skip to content

Commit

Permalink
Upgrade to pyboard-serial-com v2.0.3
Browse files Browse the repository at this point in the history
- Adds back linux armhf support
- Fixes issues related to wrapper execute permissions

Signed-off-by: paulober <[email protected]>
  • Loading branch information
paulober committed Oct 19, 2023
1 parent 5afd207 commit e436c73
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 15 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
> NOTE: Support for MPY v1.21.0 will be added in the next few days.
Works with:
| Platform | x64 | arm64 |
| :------- | :-: | :---: |
| Windows |||
| macOS |||
| Linux |||
| Platform | x64 | arm64 | armhf |
| :------- | :-: | :---: | :---: |
| Windows ||||
| macOS ||||
| Linux ||||

## Features

Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@
"typescript": "^5.2.2"
},
"dependencies": {
"@paulober/pyboard-serial-com": "^2.0.2",
"@paulober/pyboard-serial-com": "^2.0.3",
"fs-extra": "^11.1.1",
"lodash": "^4.17.21",
"rimraf": "^5.0.5",
Expand Down
4 changes: 3 additions & 1 deletion scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ npm run package
mkdir -p dist/scripts

# Define an array of platforms
platforms=("win32" "macOS_arm64" "macOS_amd64" "linux_arm64" "linux_amd64")
platforms=("win32" "macOS_arm64" "macOS_amd64" "linux_arm64" "linux_armhf" "linux_amd64")

# Loop through the platforms
for platform in "${platforms[@]}"; do
Expand All @@ -26,6 +26,8 @@ for platform in "${platforms[@]}"; do
npx @vscode/vsce package --no-yarn --target "darwin-x64"
elif [ "$platform" == "linux_arm64" ]; then
npx @vscode/vsce package --no-yarn --target "linux-arm64"
elif [ "$platform" == "linux_armhf" ]; then
npx @vscode/vsce package --no-yarn --target "linux-armhf"
elif [ "$platform" == "linux_amd64" ]; then
npx @vscode/vsce package --no-yarn --target "linux-x64"
fi
Expand Down
2 changes: 1 addition & 1 deletion src/logger.mts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { LogOutputChannel } from "vscode";

type LogLevel = "info" | "warn" | "error" | "debug";

// TODOL: warn for production
// TODO: warn for production
const logLevel: LogLevel = "debug";

// ANSI escape code for red color
Expand Down

0 comments on commit e436c73

Please sign in to comment.