Skip to content

Commit

Permalink
feat: use cargo generate instead of hardcoding examples source code (
Browse files Browse the repository at this point in the history
…#888)

* feat: use `cargo generate` instead of hardcoding examples source code

* feat: use `cargo-generate` as a library

* feat: add `custom/none` example

* use project name `.as_ref()`

* fix: apparently we need to use `auto_path` instead of `subfolder`.

* chore: update `examples` git submodule

* manually set the crate name

* fix: clippy lints

* fix: rocket sub path

* move `use` to top of file

* remove the Shuttle.toml file, if it exists

* feat: create a .gitignore file when copying an example

closes #867

---------

Co-authored-by: Iulian Barbu <14218860+iulianbarbu@users.noreply.github.com>
  • Loading branch information
paulotten and iulianbarbu authored Jun 9, 2023
1 parent dfa4950 commit 8bb05b6
Show file tree
Hide file tree
Showing 5 changed files with 777 additions and 1,507 deletions.
Loading

0 comments on commit 8bb05b6

Please sign in to comment.