Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
francis2tm committed Jan 30, 2024
0 parents commit 7cd163a
Show file tree
Hide file tree
Showing 204 changed files with 35,315 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[build]
rustflags = [
"--cfg", "tokio_unstable",
]
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[*]
root = true
max_line_length = 80
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
charset = utf-8
indent_style = space
indent_size = 2

[*.rs]
indent_size = 4
max_line_length = 120

[*.py]
indent_size = 4
7 changes: 7 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
if ! has nix_direnv_version || ! nix_direnv_version 2.4.0; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.4.0/direnvrc" "sha256-17G+Mvt/JsyJrwsf7bqMr7ho7liHP+0Lo4RMIHgp0F8="
fi

# watching all nix-files and re-evaluate on change
watch_file $(find . -name "*.nix" -printf '"%p" ')
use flake
59 changes: 59 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: "release"
on:
push:
branches:
- main

# This is the example from the readme.
# On each push to the `main` branch it will create or update a GitHub release, build your app, and upload the artifacts to the release.

jobs:
release:
permissions:
contents: write
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-20.04, windows-latest]

runs-on: ${{ matrix.platform }}
steps:
- name: "Setup actions/checkout"
uses: actions/checkout@v4

- name: "Setup rust"
uses: actions-rust-lang/setup-rust-toolchain@v1

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false

# setup dependencies that Nix can't handle (https://github.com/tauri-apps/tauri/issues/8535)
- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
run: |
sudo apt-get update
sudo apt-get install -y build-essential curl wget file libssl-dev libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev patchelf
- name: Install GUI frontend dependencies
run: cd edgen && pnpm install # change this to npm or pnpm depending on which one you use

- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
with:
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
releaseName: "v__VERSION__"
releaseBody: "See the assets to download this version and install."
releaseDraft: true
prerelease: false
projectPath: ./edgen
172 changes: 172 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
$RECYCLE.BIN/
**/*.rs.bk
*-prefix/
*.a
*.app
*.cab
*.d
*.dll
*.dylib
*.exe
*.gch
*.icloud
*.iws
*.la
*.lai
*.lcov
*.lib
*.lnk
*.lo
*.log
*.mod
*.msi
*.msix
*.msm
*.msp
*.o
*.obj
*.out
*.pch
*.pdb
*.pid
*.pid.lock
*.seed
*.slo
*.smod
*.so
*.stackdump
*.tgz
*.tsbuildinfo
*~
**/*.*.swp
.swp
.AppleDB
.AppleDesktop
.AppleDouble
.DS_Store
.DocumentRevisions-V100
.LSOverride
.Spotlight-V100
.TemporaryItems
.Trash-*
.Trashes
.VolumeIcon.icns
._*
.apdisk
.cache
.cache/
.com.apple.timemachine.donotpresent
.directory
.docusaurus
.dynamodb/
.env
.env.development.local
.env.local
.env.production.local
.env.test.local
.eslintcache
.fseventsd
.fuse_hidden*
.fusebox/
.grunt
.idea/*
.idea/**/aws.xml
__pycache__
.idea/**/contentModel.xml
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/dataSources/
.idea/**/dbnavigator.xml
.idea/**/dictionaries
.idea/**/dynamic.xml
.idea/**/gradle.xml
.idea/**/libraries
.idea/**/mongoSettings.xml
.idea/**/shelf
.idea/**/sqlDataSources.xml
.idea/**/tasks.xml
.idea/**/uiDesigner.xml
.idea/**/usage.statistics.xml
.idea/**/workspace.xml
.idea/caches/build_file_checksums.ser
.idea/httpRequests
.idea/replstate.xml
.idea/sonarlint/
.idea_modules/
.lock-wscript
.next
.nfs*
.ninja_deps
.ninja_log
.node_repl_history
.npm
.nuxt
.nyc_output
.parcel-cache
.pnp.*
.pnpm-debug.log*
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
.serverless/
.stylelintcache
.svelte-kit
.temp
.tern-port
.vscode-test
.vuepress/dist
.webpack/
.yarn-integrity
.yarn/build-state.yml
.yarn/cache
.yarn/install-state.gz
.yarn/unplugged
CMakeCache.txt
CMakeFiles
CMakeLists.txt.user
CMakeScripts
CTestTestfile.cmake
Icon
Makefile
Network Trash Folder
Temporary Items
Testing
Thumbs.db
Thumbs.db:encryptable
[Dd]esktop.ini
_deps
atlassian-ide-plugin.xml
bower_components
build/Release
cmake-build-*/
cmake_install.cmake
com_crashlytics_export_strings.xml
compile_commands.json
coverage
crashlytics-build.properties
crashlytics.properties
debug/
dist
ehthumbs.db
ehthumbs_vista.db
fabric.properties
install_manifest.txt
jspm_packages/
lerna-debug.log*
lib-cov
logs
node_modules/
npm-debug.log*
out
out/
pids
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
rust-project.json
target/
web_modules/
yarn-debug.log*
yarn-error.log*

# direnv
.direnv/
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"cSpell.files": ["docs/"]
}
Loading

0 comments on commit 7cd163a

Please sign in to comment.