summaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-rw-r--r--justfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/justfile b/justfile
new file mode 100644
index 0000000..56e90cc
--- /dev/null
+++ b/justfile
@@ -0,0 +1,24 @@
+# Justfile for managing build tasks
+
+# Install dependencies
+install:
+ pnpm install
+
+# Clean build artifacts and temporary files
+clean:
+ sudo rm -rf dist/
+ sudo rm -rf out/
+ sudo rm -rf node_modules/.cache/
+ sudo rm -rf .rollup.cache/
+ echo "Cleaned build artifacts"
+
+# Build the plugin
+build:
+ .vscode/build.sh
+
+# Build in development mode with watch
+dev:
+ pnpm run watch
+
+# Clean and rebuild everything
+rebuild: clean install build