Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

refactor: add cargo test

Louis25699995fce0
diff --git a/.gitignore b/.gitignore
index a20f96c30..f718cda44 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,46 +1,22 @@
-.idea
.env
-.idea
-
-# Jan inference
error.log
node_modules
*.tgz
-!charts/server/charts/*.tgz
dist
build
.DS_Store
-electron/renderer
-electron/models
-electron/docs
-electron/engines
-electron/themes
-electron/playwright-report
-server/pre-install
package-lock.json
coverage
*.log
core/lib/**
-
-# Turborepo
-.turbo
-electron/test-data
-electron/test-results
-core/test_results.html
-coverage
.yarn
.yarnrc
-test_results.html
*.tsbuildinfo
-electron/shared/**
+test_results.html
# docs
docs/yarn.lock
-electron/.version.bak
-src-tauri/binaries/engines/cortex.llamacpp
-src-tauri/resources/themes
src-tauri/resources/lib
-src-tauri/Cargo.lock
src-tauri/icons
!src-tauri/icons/icon.png
src-tauri/gen/apple
@@ -77,3 +53,4 @@ docs/.next/
# Combined output for local testing
combined-output/
+target
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 000000000..b9fb14e41
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,2 @@
+[workspace]
+members = ["src-tauri"]
\ No newline at end of file
diff --git a/Makefile b/Makefile
index 8ffbff54a..851ebcd7c 100644
--- a/Makefile
+++ b/Makefile
@@ -41,6 +41,7 @@ lint: install-and-build
test: lint
yarn download:bin
yarn test
+ cargo test
# Builds and publishes the app
build-and-publish: install-and-build