Skip to content

Commit

Permalink
Install plugin from CLI (#304)
Browse files Browse the repository at this point in the history
* add install command

* cargo fmt

* filter spec files

* Update src/cli/plugin.rs

Co-Authored-By: Lucien Greathouse <me@lpghatguy.com>

* Update src/cli/plugin.rs

Co-Authored-By: Lucien Greathouse <me@lpghatguy.com>

* fix comments

* encode plugin with rbx_binary

* update build script

* refactor pathbuf error into io error

* fix rojo typo

* remove snafu

* Update `snapshot_from_fs_path`

* Print `rerun-if-changed` even for directories, in order to run the
  build.rs script when files are added.

* Switch `filter_map` loop to a regular for loop. I like the FP-style
  iterator stuff in Rust, but I think Result handling is easier in a
  normal loop. Also, I don't believe the result of read_dir implements
  `ExactSizedIterator`, so some of the wins of map+collect aren't there.

* Replace Result::unwrap with ? in build.rs

* Simplify error handling code in runtime

* Checkout with submodules

Co-authored-by: Lucien Greathouse <me@lpghatguy.com>
  • Loading branch information
jeparlefrancais and LPGhatguy committed Mar 29, 2020
1 parent 9b459c2 commit 3cf82e1
Show file tree
Hide file tree
Showing 10 changed files with 371 additions and 103 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:

steps:
- uses: actions/checkout@v1
with:
submodules: true

- name: Setup Rust toolchain
run: rustup default ${{ matrix.rust_version }}
Expand Down
Loading

0 comments on commit 3cf82e1

Please sign in to comment.