Lucien Greathouse
158dac5e1c
Move subcommand branching into Options struct
2021-06-08 16:53:03 -04:00
Lucien Greathouse
ffb2aa332a
Modernize build subcommand
2021-06-08 16:48:20 -04:00
Lucien Greathouse
7f230a8bf4
Modernize the plugin subcommand
2021-05-21 13:09:07 -04:00
Lucien Greathouse
afe26b8c16
Modernize the doc subcommand
2021-05-21 12:45:07 -04:00
Lucien Greathouse
d153f62b8a
Modernize the init subcommand
2021-05-20 17:34:45 -04:00
Lucien Greathouse
df1aced95d
Add fmt-project subcommand
2021-05-20 15:41:08 -04:00
Lucien Greathouse
4cbb3874a4
Use anyhow error reporting instead of custom
2020-06-17 14:56:09 -07:00
jeparlefrancais
3cf82e112f
Install plugin from CLI ( #304 )
...
* 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 >
2020-03-29 13:41:54 -07:00
Lucien Greathouse
69c0e8d70e
Fix warnings
2020-03-21 17:49:56 -07:00
Lucien Greathouse
9f0a6101b8
Add configurable color options
2020-03-18 12:03:07 -07:00
Lucien Greathouse
8e81140eff
Increase verbosity of logging
2020-03-17 22:29:23 -07:00
Lucien Greathouse
4119a510f5
Fix broken error source tracking
2020-03-13 20:12:42 -07:00
Lucien Greathouse
255bf439d3
Add 'rojo doc' command
2020-03-12 16:02:19 -07:00
Lucien Greathouse
2a31937b81
Use CARGO_PKG_REPOSITORY instead of hard-coded URL
2020-03-12 15:48:30 -07:00
Lucien Greathouse
eb8964e1d1
Improve panic messaging and process behavior.
...
- Replaced main() to use custom panic hook
- Updated log formatting
- Switched to panic=abort, since we don't need to unwind now.
- Process will now abort if any thread panics.
2020-03-12 15:42:56 -07:00
Lucien Greathouse
859c7bea8a
Update most dependencies
2019-12-18 15:52:47 -08:00
Lucien Greathouse
1b9e90e786
Port from Failure to Snafu ( #281 )
...
* Failure -> Snafu for build command
* Port skeletal remains of init to snafu
* failure -> snafu for serve
* failure -> snafu for upload, remove impl_from macro
* failure -> custom error in vfs
* Bye bye, failure
* Fix Rust 1.36 build regression
2019-12-18 15:44:46 -08:00
Lucien Greathouse
16c9a23d55
Shuffle around Rojo's public API
2019-12-17 13:58:46 -08:00
Lucien Greathouse
47c7f63d75
Switch everything to StructOpt ( #277 )
...
* Add types for Rojo's subcommands
* Flesh out CLI types
* Port everything to structopt instead of clap
2019-12-12 14:30:47 -08:00
Lucien Greathouse
b7d613ace6
Correct bug report repository link
2019-08-28 13:55:12 -07:00
Lucien Greathouse
68dbb31272
Add verbosity level argument
2019-08-28 13:34:20 -07:00
Lucien Greathouse
8fe1fa48b8
Let Rojo pull auth cookie from registry on Windows
2019-08-28 13:21:30 -07:00
Lucien Greathouse
ea112dd93d
Mark security cookie as optional
2019-08-28 12:09:12 -07:00
Lucien Greathouse
6f7dbe99fe
Move Rojo server into root of the repository
2019-08-27 16:56:52 -07:00
Lucien Greathouse
6fa925a402
Merge plugin back into main repository ( #49 )
2018-04-01 23:22:04 -07:00
Lucien Greathouse
58b244b7e9
Reorganize some of the unwieldly parts of the codebase
...
* Moved commands into their own folder to reduce `bin.rs`'s size
* Moved all of the VFS-related functionality into its own folder
* Documented a lot of functions, including a few very obscure ones
2018-01-03 16:45:46 -08:00
Lucien Greathouse
73117edbe7
Enable JsonModelPlugin by default as a test
2018-01-02 15:41:10 -08:00
Lucien Greathouse
95581dbaa6
Pass common plugin chain into web handler
2017-12-20 22:35:26 -08:00
Lucien Greathouse
6ee9a48e20
Use plugin chain code in Vfs
2017-12-18 01:52:13 -08:00
Lucien Greathouse
f90c51e923
Move web server onto main thread
2017-12-18 01:20:04 -08:00
Lucien Greathouse
c75cbebbf0
Merge branch 'master' into serve-instances
2017-12-17 22:12:04 -08:00
James Onnen
5a20646c57
Address code review, remove unnecessary import
2017-12-17 23:40:32 -06:00
James Onnen
199ebda689
Use ::park() instead of ::sleep()
2017-12-17 14:34:31 -06:00
James Onnen
ae6ca6fb23
Fix #21 : High CPU usage in a small project
2017-12-17 14:20:24 -06:00
Lucien Greathouse
21e9625c36
Prototype plugin architecture, switch instance-based stuff to that
2017-12-14 01:11:44 -08:00
Lucien Greathouse
5bf1f11190
Hacky first go at it -- keeping the existing VfsItem infrastructure
...
I think this is actually a pretty reasonable flow.
2017-12-14 01:11:44 -08:00
Lucien Greathouse
b4e31ea35d
Fix serve path failing to be absolute when given as a relative path
2017-12-14 01:09:10 -08:00
Lucien Greathouse
59b2401c2c
Add more detailed error reporting around invalid projects
2017-12-13 11:56:06 -08:00
Lucien Greathouse
63b21b90ff
Ripple verbosity flags through the server
2017-12-01 00:17:29 -08:00
Lucien Greathouse
70e2fdcf48
Documentation cleanup
2017-11-29 17:36:23 -08:00
Lucien Greathouse
7838b2e67d
Initial commit
2017-11-29 17:25:37 -08:00