From 0443cc8fa0b850bf2260f3c4964a46e18066bdda Mon Sep 17 00:00:00 2001 From: Dejan Simic Date: Sat, 27 Apr 2024 07:15:05 +0200 Subject: [PATCH] renamed: build -> releases --- extension/.gitignore | 2 +- extension/Makefile | 9 +++++---- extension/README.md | 8 ++++++-- extension/{build => releases}/.gitkeep | 0 4 files changed, 12 insertions(+), 7 deletions(-) rename extension/{build => releases}/.gitkeep (100%) diff --git a/extension/.gitignore b/extension/.gitignore index 1b64060..d925eb2 100644 --- a/extension/.gitignore +++ b/extension/.gitignore @@ -1,4 +1,4 @@ .vite dist node_modules -build/*.zip +releases/*.zip diff --git a/extension/Makefile b/extension/Makefile index 936ad0d..04b19d9 100644 --- a/extension/Makefile +++ b/extension/Makefile @@ -1,6 +1,7 @@ -.PHONY: build clean +.PHONY: release clean + +release: + zip -r0 releases/rails_panel.zip dist -build: - zip -r0 build/rails_panel.zip dist clean: - rm build/* + rm releases/* diff --git a/extension/README.md b/extension/README.md index 2490d32..240cc5e 100644 --- a/extension/README.md +++ b/extension/README.md @@ -1,9 +1,13 @@ ## Development mode - npm run dev + npm run dev ## Preview the extension - npm run build + npm run build In Chrome > Plugins > Load unpacked select `dist` directory. + +## Create release for upload to stores + + make release \ No newline at end of file diff --git a/extension/build/.gitkeep b/extension/releases/.gitkeep similarity index 100% rename from extension/build/.gitkeep rename to extension/releases/.gitkeep