From b304e642a10baf2c172736c72eb515e48f3fe4bb Mon Sep 17 00:00:00 2001 From: Grace Murphy Date: Sat, 1 Jun 2024 01:33:55 +0100 Subject: [PATCH] minor changes to improve publish workflow --- Makefile | 6 ++++++ vscode_extension/LICENSE | 2 +- vscode_extension/publish.sh | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100755 vscode_extension/publish.sh diff --git a/Makefile b/Makefile index 5a56ad8..51adfa4 100644 --- a/Makefile +++ b/Makefile @@ -8,5 +8,11 @@ gen-wasm-for-extension: build-extension: yarn --cwd vscode_extension install yarn --cwd vscode_extension run package + rm -rf package mkdir package cd vscode_extension && vsce package --out ../package + +publish-extension: + make build-extension + cd vscode_extension && ./publish.sh + \ No newline at end of file diff --git a/vscode_extension/LICENSE b/vscode_extension/LICENSE index ad3a998..57fb98c 100644 --- a/vscode_extension/LICENSE +++ b/vscode_extension/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 Kanaru Sato +Copyright (c) 2024 Grace Murphy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in diff --git a/vscode_extension/publish.sh b/vscode_extension/publish.sh new file mode 100755 index 0000000..cf2ebef --- /dev/null +++ b/vscode_extension/publish.sh @@ -0,0 +1 @@ +npx ovsx publish -p $(< token.txt) \ No newline at end of file