Commit Graph

28 Commits

Author SHA1 Message Date
Casey Rodarmor
4d67d3a10d
Don't commit the book
To avoid bloating commits, don't commit any auto generated from the
book.

type: development
2020-04-21 00:36:48 -07:00
Casey Rodarmor
04338e3501
Merge documentation and changelog generation
Merge documentation generation into a single binary, `bin/gen`. This
includes: The changelog, man pages, the readme, and the book.

type: reform
2020-04-17 21:31:54 -07:00
Casey Rodarmor
03a9935164
Skip fixup commits in changelog
This change Makes the changelog generator ignore fixup commits.

`git commit --fixup` can be used to mark that a commit should be
squashed before merging, which can be done automatically with
`git rebase --autosquash`. Fixup commits have a summary that starts with
`fixup!`

type: development
2020-04-07 23:41:06 -07:00
Casey Rodarmor
2515399081
Cache build artifacts
Use `actions/cache` to cache cargo registry, index, and build between
workflow runs.

type: development
2020-04-07 19:01:38 -07:00
Casey Rodarmor
8c30205b02
Add shell completion scripts
Shell completion scripts can be generated for `bash`, `elvish`, `fish`,
`powershell`, and `zsh` with the `completions` subcommand:

    $ imdl completions --shell zsh > imdl.zsh

The same scripts are available in the `completions` directory. Please
refer to your shell's documentation for more information on how to
install and use completion scripts.

type: added
2020-04-07 19:01:37 -07:00
Casey Rodarmor
4b6191773a
Fix condition in GHA workflow
Should deploy only on linux, not on everything but linux :P

type: distribution
2020-04-07 19:01:32 -07:00
Casey Rodarmor
b27ecf1c09
Only deploy site during linux run of CI build
type: development
2020-04-07 19:01:32 -07:00
Casey Rodarmor
35d90adab4
Rename www/head to www/head.txt
type: documentation
2020-04-07 19:01:31 -07:00
Casey Rodarmor
0469f7fecd
Record current git revision in www/head
type: documentation
2020-04-07 19:01:30 -07:00
Casey Rodarmor
972a1ec628
Merge Github Actions workflows
type: development
2020-04-07 19:01:30 -07:00
Casey Rodarmor
151d912156
Deny warnings in GitHub Actions main workflow build
type: testing
2020-04-07 19:01:30 -07:00
Casey Rodarmor
e91b419af5
Improve book
- Write introduction
- Move large readme sections into book
- Rename docs to www

type: documentation
2020-04-07 19:01:30 -07:00
Casey Rodarmor
1e5c19d02b
Add GitHub Actions workflow to build book and push to github pages
- Run book build on all commits
- Deploy site on pushes to master

type: development
2020-04-07 19:01:30 -07:00
Casey Rodarmor
86aeec3ce9
Fix release process issues
- Trigger GitHub Actions workflow on release tags
- Make build script tolerate not being called in git directory
- Omit git hash in created by message if not built in git directory
- Test created by message format

type: distribution
2020-04-07 19:01:29 -07:00
Casey Rodarmor
1c22623df4
Trigger GitHub actions build on either push and PR to master
type: development
2020-04-07 19:01:13 -07:00
Casey Rodarmor
f2a5f13729
Format with unstable rustfmt options
- Format with nightly rustfmt
- Enable unstable options in rustfmt.toml
- Turn off git text file detection, so newlines are always unix newlines

type: reform
2020-04-07 19:01:07 -07:00
Casey Rodarmor
b0962722c7
Add Github Actions build badge to readme
Also change the name of the main workflow from Main to Build, since I'd
like the badge to say "Build | Passing".

type: documentation
2020-04-07 19:01:06 -07:00
Casey Rodarmor
2512b05ece
Fix Bors
type: development
2020-04-07 19:01:01 -07:00
Casey Rodarmor
a6745e2a41
Configure Bors
Bors: I'll save you Meguca!

type: development
2020-04-07 19:01:00 -07:00
Casey Rodarmor
9dd8a56298
Release v0.0.1
- Add changelog
- Update publish-check recipe to match github actions
- Add publish recipe
- Update dependencies
- Add minimimal-deps compatibility check

type: release
2020-04-07 19:00:59 -07:00
Casey Rodarmor
cf59a58c67
Build and upload release artifacts from CI
type: distribution
2020-04-07 19:00:58 -07:00
Casey Rodarmor
1f5b829742
Add table of contents to readme
type: documentation
2020-04-07 19:00:48 -07:00
Casey Rodarmor
d1f8f24d8e
Add colored output
Colored output can be controlled on the command line with
`--use-color auto|always|never`. The default is `auto`, which enables
color if `imdl` detects that it is printing to a terminal.

Color can be disabled entirely by setting the `NO_COLOR` environment
variable.

type: added
2020-04-07 19:00:47 -07:00
Casey Rodarmor
7de1c04776
Fail CI if code isn't formatted
type: testing
2020-04-07 19:00:40 -07:00
Casey Rodarmor
408735621e
Delete extraneous comment in workflow file
type: reform
2020-04-07 19:00:34 -07:00
Casey Rodarmor
074a3b3d42
Run CI tests on windows, macos, and linux
type: testing
2020-04-07 18:55:48 -07:00
Casey Rodarmor
9f83661374
Configure clippy and lint on push
Enable as many lints as I can stand. I'll definitely add more exceptions as
`clippy::pedantic` and `clippy::restriction` wear me down.

type: testing
2020-04-07 18:55:45 -07:00
Casey Rodarmor
3affa8c5e1
Add build and test github action workflow
type: testing
2020-04-07 18:55:37 -07:00