Commit Graph

307 Commits

Author SHA1 Message Date
Lynne Megido a50350a15e
less unneeded backend compilation
previous behaviour: all platforms would compile both infer and xdg-mime
new behaviour: unix platforms always compile xdg-mime but only compile infer if the `infer-backend` feature is enabled, and windows always compiles infer but only compiles xdg-mime if the `xdg-mime-backend` feature is enabled.
2021-05-10 09:43:41 +10:00
Lynne Megido 8341c4aaf7
rename `dirs` parameter to `dir` 2021-05-09 00:23:03 +10:00
Lynne Megido c3b5dbea35
CI is a bit of a pain
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-08 02:50:23 +10:00
Lynne Megido 81347a7658
mime_extension_lookup takes essence_str directly, videos aliases to video
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-08 00:32:44 +10:00
Lynne Megido 3b3a64c9ea
remove drone build status from readme 2021-05-07 02:53:25 +10:00
Lynne Megido 394bcf1897
do a build with default features before all the customised builds, should help speed things up more
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2021-05-07 02:49:17 +10:00
Lynne Megido 0b1abcd659
cleanup doesn't need the feature matrix thingy 0uo 2021-05-07 02:28:01 +10:00
Lynne Megido a1b16bd8e0
use cargo-sweep to clean up the cache every now and then
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-07 02:25:44 +10:00
Lynne Megido 64efb0de27
merge webUI changes, fmt
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-06 09:29:20 +10:00
Lynne Megido 417893cae0
moved ScanError into findings.rs 2021-05-06 09:27:16 +10:00
Lynne Megido 0c0d3f12ea
new and improved rustfmt 2021-05-06 09:06:05 +10:00
Lynne Megido b93e111357
added JSON output 2021-05-06 08:57:42 +10:00
Lynne Megido 774e72423f
test powershell output too 2021-04-30 19:11:24 +10:00
Lynne Megido beebbbbb3b
replace fastrand dep with rand, rustfmt 2021-04-29 17:08:56 +10:00
Lynne Megido a60a19191a
reject lowercase exts bc they don't worky 2021-04-29 17:03:26 +10:00
Lynne Megido 80f14085cf
properly use separate caches for stable/msrv/nightly jobs
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-29 00:27:43 +10:00
Lynne Megido 6d6897a86e
use separate caches for stable/msrv/nightly jobs
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-28 23:56:05 +10:00
Lynne Megido 32edcc0c92
only re-run CI if necessary
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-28 23:52:42 +10:00
Lynne Megido 48c9475b4e
slightly less crummy screenshot 2021-04-28 23:33:52 +10:00
Lynne Megido 26521e3fae
markdown is a pain sometimes
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-28 23:26:44 +10:00
Lynne Megido 952e157873
...fixed broken screenshot link 0uo 2021-04-28 23:23:22 +10:00
Lynne Megido 090e4adafe
release v0.3.0!! \0u0/
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-04-28 23:21:27 +10:00
Lynne Megido 4acbcaaa9b
added quietness flag, set default log level to `info` 2021-04-28 22:20:10 +10:00
Lynne Megido 9fb647f214
removed PKGBUILD 2021-04-28 21:41:18 +10:00
Lynne Megido 8cca5097d4
writablesln! 2021-04-28 21:39:56 +10:00
Lynne Megido a05af12352
fif now outputs the dir it was run from
- refactor Format function signatures to be more uniform
- add Shell and Bash aliases for Sh
2021-04-28 21:27:06 +10:00
Lynne Megido 84ce0fc0ce
use needs to specify CI dependency graph for more efficiency 2021-04-28 20:34:46 +10:00
Lynne Megido 534101db8b
vastly improved CI - now builds/tests all feature configurations, against MSRV, stable, and nightly!
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-28 20:14:52 +10:00
Lynne Megido cb6e111f16
more comprehensive ext sets, link text/xml and application/xml, remove silly Powershell/PowerShell hack 2021-04-28 19:33:42 +10:00
Lynne Megido 4f5914ed75
-E and -X can now take multiple sets 2021-04-28 18:10:34 +10:00
Lynne Megido d5d58e1830
-e and -E can now be used together!
also changelog rewording

-e and -E can now be used together!
2021-04-28 17:17:38 +10:00
Lynne Megido af3d51fcda
cleaned up excluded_extensions 2021-04-28 17:12:34 +10:00
Lynne Megido d578efa7a4
rename videos set to video, multiple exts can be specified with multiple `-e` flags 2021-04-28 16:44:29 +10:00
Lynne Megido 22f1f280d7
added `-X` for excluding sets of extensions. `-X` is to `-E` as `-x` is to `-e`. 2021-04-28 16:16:32 +10:00
Lynne Megido b3ce5d3d46
numerous CI improvements =u=
- run clippy before all other tasks
- deny on clippy warnings when running in CI
- build and test both xdg and infer backends
- make sure "fif -V" actually works
2021-04-28 16:11:11 +10:00
Lynne Megido b12c42adbb
publish my fork of mime_guess so it can be used w/ crates.io
crates.io doesn't allow you to use path or git dependencies - you can only depend on published crates. i didn't really want to publish my mime_guess fork, since i don't really see anyone besides myself using it (and i don't really want my fork to "dethrone" the original or whatever), but unless i want `cargo install fif` to give you a version of fif that tells you XML files should have the extension ".asa", i kind of have to do this :c
2021-04-28 15:17:40 +10:00
Lynne Megido fc51f8128a
rustfmt 2021-04-27 20:26:01 +10:00
Lynne Megido 7e3efbed5c
added exclude flag for excluding extensions
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-27 20:25:41 +10:00
Lynne Megido aad70ee13b
update exclude list & dependencies 2021-04-27 18:34:01 +10:00
Lynne Megido af9968947c
release v0.2.13 0u0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-04-26 22:36:02 +10:00
Lynne Megido b864b4b388
test.py: exit on non-zero exit code 2021-04-26 22:34:32 +10:00
Lynne Megido 40bdac274f
minor cleanup 2021-04-26 22:32:43 +10:00
Lynne Megido 889b2e2316
move ExtensionSet stuff into parameters.rs 2021-04-26 22:17:57 +10:00
Lynne Megido 2ceafb7acf
added -v/--verbose 2021-04-26 22:15:14 +10:00
Lynne Megido 7a315e9cf6
run clippy with all features/targets enabled 2021-04-26 21:01:49 +10:00
Lynne Megido 475998fd22
use Cargo.lock w/ CI 2021-04-26 21:01:35 +10:00
Lynne Megido 0753c7c948
update readme badge links 2021-04-26 20:52:14 +10:00
Lynne Megido b80c510d48
gitlab ci improvements: cache `target` & `.cargo`, separate test and build
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-26 20:40:26 +10:00
Lynne Megido d6974b4959
writables!, windows newlines, sorted changelog, always quote paths
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-26 20:19:58 +10:00
Lynne Megido 6a7577d874
Merge remote-tracking branch 'origin/master'
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-21 17:29:25 +10:00