Commit Graph

13 Commits

Author SHA1 Message Date
Tensor-Programming
cffda68b42 Refactor(All): Update and Format Deps for 2018 (#397)
* remove extern crate and macro_use

* fix test file

* update CLI

* organize imports

* organize core

* update api

* update updater

* update create-react-app

* update gatsby example

* update next-js example

* update svelte example

* update vanilla-js example

* update nuxt example

* update quasar example

* update vue example

* update templates.

* update build.rs

Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2020-02-08 13:08:54 -03:00
Lucas Fernandes Nogueira
b7a6bc0f42 feat(bundler&tauri) add wix resource bundling and utils to get the path to the platform resource dir (#352)
* feat(bundler) copy resources to the out dir

* feat(utils) add resource_dir fn

* feat(examples) spawn node with resource JS instead of pkg bin

* feat(bundler) WIP on windows resource bundler

* feat(utils) add windows, macos resource_dir logic

* fix(bundler) resource folder iteration on wix

* chore(bundler) add comments to generate_resource_data fn

* chore(bundler) add comments to the get_wix_data fn

* change minor items.

* run `cargo fmt`

* run `rust fmt` and `clippy` and add fmt.toml

* remove unnessecary rustfmt.toml files.

Co-authored-by: Tensor-Programming <abeltensor@tensor-programming.com>
2020-01-26 19:57:09 -05:00
Ty Tracey
fcbc261dff Changing web link references from tauri-apps.org to tauri.studio and the wiki, when appropriate (#349) 2020-01-23 11:16:59 +01:00
Tensor-Programming
91bf26c336
Refactor(Updater) Modernize Updater Crate and add Utils Crate (#335)
* update updater

* basic utils refactor.

* fix platform file.

* add errors.

* fix cargo.toml

* Rename cargo.toml to Cargo.toml

* remove warning.
2020-01-17 19:33:17 -05:00
Tensor-Programming
b9f3d9a92c
refactor(Bundler, API) clean up external binary logic (#332)
* refactor external binary logic

* update regex and error.

* refactor bundle_settings external bin

* fix bug

* cleanup api

* cleanup windows deps.

* add windows macro
2020-01-16 22:19:21 -05:00
Lucas Fernandes Nogueira
6225e5d30a feat(bundler) add option to bundle external binaries (#312)
* feat(tauri-cli) add option to bundle external binaries

* feat(tauri-cli) bundle external binaries for OSX

* fix(cargo.toml) external bin path

* feat(bundler) bundle external binaries on MSI/WiX

* feat(tauri) append target triple to external binary name

* call cargo fmt.

Co-authored-by: Tensor-Programming <abeltensor@tensor-programming.com>
Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
2020-01-15 19:39:34 +01:00
renovate[bot]
a0b59c8df6 chore(deps) Update Tauri API (#314)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 00:46:16 -05:00
Tensor-Programming
667d5905f6
Refact(api) Add error chain to Tauri_api. (#311)
* add error chain

* remove verson error

* update file error

* update dir

* fix file_system

* add command error type.

* fix minor inconsistency

* add command tests

* add other tests for cmd.

* add more testing for cmd

* add documentation.

* add walk_dir tests and documentation.

* add list_dir_contents test

* test for with_temp_dir

* add read_string tests and file error type.

* add test_binary and update tests.

* add check_read_binary_fail test

* add os codes for unix based systems.

* add core-tauri-test gh action

* update test-on-pr

* fix test to test all libs.

* fix unix/windows errors
2020-01-14 22:03:59 -05:00
renovate[bot]
6c8f310763 chore(deps): update rust crate quickcheck (#262)
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-03 14:59:22 -05:00
Lucas Nogueira
a56cee76bf
chore(versions) bump tauri and tauri-api crates to 0.3.0 2019-12-31 15:03:01 -03:00
Tensor-Programming
83b3fcb8c8
feat(Tauri-core) Add Quicktest to Tauri-API (#239)
* add simple bat and ps1 setup scripts

* add proptest for property testing

* add comments.

* add basic bash script (needs improvement)

* add basic quickcheck tests.

* add more comments.

* add simple is_dir test.

* add support for windows commands; remove returns

* remove print statement

* change prefixes to ch and add script

* fix prefixes.

* move qc script to .scripts folder.

* fix bash path.

* move scripts to root and add if checks.

* update bash script with more logic to check dirs.

* update bash script with more logic to check dirs.

* clean up and verify

* update gitignore for .vscode folder outside root

* add docs

* update docs

* format scripts
2019-12-29 00:45:13 -05:00
Tensor-Programming
b92eee019c
[Refactor] Remove unwraps from tauri (#234)
* remove unwraps from tauri code

* refactor bundler and remove unwraps

* remove errors

* cleaup and add distinctions

* reword panic
2019-12-26 16:09:04 -05:00
Tensor-Programming
e288180104
[WIP] Refactor(Crates) Tauri into individual Crates (#192)
* split tauri into 3 crates

* fix macros

* change builder into lib

* cleanup package paths

* add features back to lib

* make build function public

* add build-deps

* rename and fix.

* correct package name

* move crates to root and refactor names

* fix github action

* move fixture to tauri-build

* remove slash

* add .vscode features

* fix updater

* fix updater mistake

* fix(tauri) refactor buiilds

* fix seperation

* change get back to get

* fix cfg and remove dead code warnings.

* roll #160 into this pr

* add credit

* fix eof

* chore(tauri) move assets to mod, loadAssets cfg outside its definition

* chore(tauri) remove unused deps

* update updater and cfg

* fix(tauri) embedded-server with dead variable

* add review refactors and remove cli form workgroup

* chore(tauri) rename tauri to tauri-api and tauri-bundle to tauri

* fix workspace and updater

* rename update to updater
2019-12-22 14:04:45 -05:00