Skip to content

Commit

Permalink
Reorganize a little bit (#23)
Browse files Browse the repository at this point in the history
* Update nushell to 0.97.1
* Reorganize code, to support v2.0.0
  • Loading branch information
fennewald authored Aug 22, 2024
1 parent 068aebf commit aff14b1
Show file tree
Hide file tree
Showing 10 changed files with 263 additions and 190 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,6 @@ jobs:
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/oranda/releases/download/v0.6.1/oranda-installer.sh | sh
oranda build
- name: Prepare HTML for link checking
# untitaker/hyperlink supports no site prefixes, move entire site into
# a subfolder
run: mkdir /tmp/public/ && cp -R public /tmp/public/oranda

- name: Check HTML for broken internal links
uses: untitaker/hyperlink@0.1.29
with:
args: /tmp/public/

# Deploy to our gh-pages branch (creating it if it doesn't exist).
# The "public" dir that oranda made above will become the root dir
# of this branch.
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/target

# Generated by `oranda generate ci`
public/
# Generated by `oranda generate ci`
public/
79 changes: 40 additions & 39 deletions Cargo.lock

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

15 changes: 10 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,19 @@ keywords = ["nushell", "network", "plugin"]
homepage = "https://github.com/fennewald/nu_plugin_net"
repository = "https://github.com/fennewald/nu_plugin_net"
description = "A nushell plugin for enumerating network interfaces in a platform-agnostic way"
version = "1.6.0"
version = "1.7.0"
edition = "2021"
readme = "README.md"

[[bin]]
name = "nu_plugin_net"

[lib]

[dependencies]
pnet = { version = "0.34", features = ["std"] }
nu-plugin = "0.96.0"
nu-protocol = { version = "0.96.0", features = ["plugin"] }
nu-plugin = "0.97.1"
nu-protocol = { version = "0.97.1", features = ["plugin"] }
pnet = "0.35.0"

# The profile that 'cargo dist' will build with
[profile.dist]
Expand All @@ -29,7 +34,7 @@ ci = "github"
# The installers to generate for each app
installers = ["shell"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu"]
# Path that installers should place binaries in
install-path = "CARGO_HOME"
# Publish jobs to run in CI
Expand Down
Loading

0 comments on commit aff14b1

Please sign in to comment.