Skip to content

Commit a6b5a80

Browse files
committed
v0.0.2
1 parent 496961c commit a6b5a80

File tree

3 files changed

+54
-15
lines changed

3 files changed

+54
-15
lines changed

.github/workflows/test.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Test
2+
3+
on: [push, pull_request]
4+
5+
defaults:
6+
run:
7+
shell: bash
8+
9+
jobs:
10+
test:
11+
name: Test on ${{ matrix.os }}
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
os: [ubuntu-latest, windows-latest, macos-latest]
16+
go-version: ['1.22.x', '1.23.x', '1.24.x']
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v3
21+
22+
- name: Set up Go
23+
uses: actions/setup-go@v3
24+
with:
25+
go-version: ${{ matrix.go-version }}
26+
27+
- name: Get dependencies
28+
run: go get -v -t -d ./...
29+
30+
- name: Test code
31+
run: go test -v ./...

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# Changelog
22

3+
## v0.0.2
4+
* Edit README.
5+
* Add workflows.
6+
37
## v0.0.1
48
* First release.

README.md

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
[tbls](https://github.com/k1LoW/tbls?tab=readme-ov-file#external-database-driver) external database driver for Salesforce CLI's metadata.
44
Driver for reading "Source Format" metadata of Salesforce CLI [sf command](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm) on local files.
55

6+
[![Test](https://github.com/shellyln/tbls-driver-sf-cli-meta/actions/workflows/test.yml/badge.svg)](https://github.com/shellyln/tbls-driver-sf-cli-meta/actions/workflows/test.yml)
7+
[![release](https://img.shields.io/github/v/release/shellyln/tbls-driver-sf-cli-meta)](https://github.com/shellyln/tbls-driver-sf-cli-meta/releases)
8+
[![Go version](https://img.shields.io/github/go-mod/go-version/shellyln/tbls-driver-sf-cli-meta)](https://github.com/shellyln/tbls-driver-sf-cli-meta)
9+
610
## 🪄 Install
711

8-
### Manually:
12+
### Go install (recommended):
913
#### 🪟 Windows prerequirements:
1014
```bash
11-
choco install git
12-
1315
choco install golang
14-
choco install make
1516
# or
1617
# scoop bucket add main
1718
# scoop install main/go
18-
# scoop install main/make
1919

2020
go install github.com/k1LoW/tbls@latest
2121
```
@@ -24,30 +24,27 @@ go install github.com/k1LoW/tbls@latest
2424

2525
#### 🍎 Mac prerequirements:
2626
```bash
27-
brew install git
2827
brew install go
29-
brew install make
3028
go install github.com/k1LoW/tbls@latest
3129
```
3230
* https://brew.sh/
3331

3432
#### ⚡️ Install:
3533
```bash
36-
git clone https://github.com/shellyln/tbls-driver-cli-meta.git
37-
cd tbls-driver-cli-meta
38-
39-
# Build it and copy the binary to the $GOPATH/bin, which is probably in the PATH.
40-
# tbls external driver executable SHOULD be in the PATH.
41-
make && make install
34+
go install github.com/shellyln/tbls-driver-sf-cli-meta@latest
4235
```
4336

44-
### Go install:
37+
### Manually:
4538
#### 🪟 Windows prerequirements:
4639
```bash
40+
choco install git
41+
4742
choco install golang
43+
choco install make
4844
# or
4945
# scoop bucket add main
5046
# scoop install main/go
47+
# scoop install main/make
5148

5249
go install github.com/k1LoW/tbls@latest
5350
```
@@ -56,14 +53,21 @@ go install github.com/k1LoW/tbls@latest
5653

5754
#### 🍎 Mac prerequirements:
5855
```bash
56+
brew install git
5957
brew install go
58+
brew install make
6059
go install github.com/k1LoW/tbls@latest
6160
```
6261
* https://brew.sh/
6362

6463
#### ⚡️ Install:
6564
```bash
66-
go install github.com/shellyln/tbls-driver-sf-cli-meta@latest
65+
git clone https://github.com/shellyln/tbls-driver-cli-meta.git
66+
cd tbls-driver-cli-meta
67+
68+
# Build it and copy the binary to the $GOPATH/bin, which is probably in the PATH.
69+
# tbls external driver executable SHOULD be in the PATH.
70+
make && make install
6771
```
6872

6973

0 commit comments

Comments
 (0)