Skip to content

Commit

Permalink
Update to try pass asdf tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maxandersen committed Oct 4, 2023
1 parent e5b5488 commit 57df192
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 37 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: build

on:
push:
branches:
- main
pull_request:

jobs:
plugin_test:
name: asdf plugin test
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest

runs-on: ${{ matrix.os }}

steps:
- name: asdf_plugin_test
uses: asdf-vm/actions/plugin-test@v2
with:
command: jbang version
27 changes: 0 additions & 27 deletions .github/workflows/workflow.yml

This file was deleted.

31 changes: 21 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,29 @@
# jbang-asdf
# jbang-asdf [![Build](https://github.com/jbangdev/jbang-asdf/workflows/build/badge.svg)](https://github.com/jbangdev/jbang-asdf/actions) [![License](https://img.shields.io/github/license/jbangdev/jbang-asdf?style=plastic)](https://github.com/jbangdev/jbang-asdf/blob/master/LICENSE)

[![GitHub Actions Status](https://github.com/jbangdev/jbang-asdf/workflows/Main%20workflow/badge.svg?branch=main)](https://github.com/jbangdev/jbang-asdf/actions)
[![GitHub license](https://img.shields.io/github/license/jbangdev/jbang-asdf?style=plastic)](https://github.com/jbangdev/jbang-asdf/blob/master/LICENSE)
[jbang](https://jbang.dev/) plugin for the [asdf version manager](https://asdf-vm.com).

## jbang

<https://github.com/jbangdev/jbang>

## Install
## Install Plugin

```bash
asdf plugin-add jbang https://github.com/jbangdev/jbang-asdf
asdf plugin-add jbang
or
asdf plugin-add https://github.com/jbangdev/jbang-asdf
```

## Use
## Install jbang

```shell
# Show all installable versions
asdf list-all jbang

# Install specific version
asdf install jbang latest

# Set a version globally (on your ~/.tool-versions file)
asdf global jbang latest

# Now ag commands are available
jbang
```

Check out the [asdf](https://github.com/asdf-vm/asdf) readme for instructions on how to install and manage versions of `jbang`.

0 comments on commit 57df192

Please sign in to comment.