Skip to content

Commit

Permalink
This is 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rossmacarthur committed Jul 5, 2021
1 parent de5a794 commit 8a8d5f5
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 74 deletions.
106 changes: 41 additions & 65 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "powerpack"
version = "0.1.2"
version = "0.2.0"
authors = ["Ross MacArthur <[email protected]>"]
edition = "2018"
description = "⚡ Supercharge your Alfred workflows by building them in Rust!"
Expand Down
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ cargo install powerpack-cli

Now create a new project using a similar API as `cargo new` or `cargo init`.
```sh
powerpack new myworkflow
powerpack new myworkflow && cd myworkflow
```

This will create a new Rust project as well as a `workflow/` directory
Expand All @@ -31,18 +31,22 @@ a release build of the workflow and copy it to the `workflow/` directory.
powerpack build --release
```

Now you can link it. The following will symlink the `workflow/` directory to
the Alfred preferences folder.
Now you can link it to Alfred. The following will symlink the `workflow/`
directory to the Alfred preferences folder.
```sh
powerpack link
```

Now you can run the workflow from Alfred ✨!

To package a `.alfredworkflow` file for release you can run the following.
```sh
powerpack package
```

## GitHub Action
The release will be available at `target/workflow/myworkflow.alfredworkflow`.

## 👷 GitHub Action

[`setup-powerpack`][setup] can be used to install `powerpack` in a GitHub
Actions workflow. For example:
Expand Down
8 changes: 4 additions & 4 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "powerpack-cli"
version = "0.1.2"
version = "0.2.0"
authors = ["Ross MacArthur <[email protected]>"]
edition = "2018"
description = "⚡ Supercharge your Alfred workflows by building them in Rust!"
Expand All @@ -11,17 +11,17 @@ keywords = ["alfred", "workflow"]
categories = ["command-line-utilities"]

[dependencies]
anyhow = "1.0.39"
anyhow = "1.0.41"
atty = "0.2.14"
cargo_metadata = "0.13.1"
casual = "0.2.0"
clap = "3.0.0-beta.2"
home = "0.5.3"
peter = "0.2.1"
plist = "1.1.0"
toml_edit = "0.2.0"
toml_edit = "0.2.1"
uuid = { version = "0.8.2", features = ["v4"] }
zip = { version = "0.5.11", features = ["deflate-zlib", "time"], default-features = false }
zip = { version = "0.5.13", features = ["deflate-zlib", "time"], default-features = false }

[dev-dependencies]
powerpack = { path = ".." }
Expand Down

0 comments on commit 8a8d5f5

Please sign in to comment.