-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e5b5488
commit 57df192
Showing
3 changed files
with
45 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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`. |