Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: ski #84

Merged
merged 22 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ coverage.html
*.so
dist
/data
/ctl/data
node_modules
package.json
package-lock.json
8 changes: 4 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
project_name: cloudcat
project_name: ski

env:
- GO111MODULE=on

builds:
- id: cloudcat
main: ./cmd
- id: ski
main: ./ski
env:
- CGO_ENABLED=0
ldflags:
Expand All @@ -14,7 +14,7 @@ builds:
- -X main.CommitSHA={{ .ShortCommit }}
flags:
- -trimpath
binary: cloudcat
binary: ski
goos:
- darwin
- linux
Expand Down
680 changes: 19 additions & 661 deletions LICENSE

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ LDFLAGS += -X "main.Version=$(VERSION)" -X "main.CommitSHA=$(VERSION_HASH)"
all: build

build:
cd cmd && go build -ldflags '$(LDFLAGS)' -o ../dist/cloudcat && cd ..
go build -ldflags '$(LDFLAGS)' -o ./dist/ski ./ski

format:
find . -name '*.go' -exec gofmt -s -w {} +
Expand Down
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Cloudcat
![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/shiroyk/cloudcat)
[![Go Report Card](https://goreportcard.com/badge/github.com/shiroyk/cloudcat)](https://goreportcard.com/report/github.com/shiroyk/cloudcat)
![GitHub](https://img.shields.io/github/license/shiroyk/cloudcat)<br/>
**Cloudcat** is a tool for extracting structured data from websites using extensible YAML syntax rules.<br/>
Before v1.0.0 is for initial development. Anything MAY change at any time. The public API SHOULD NOT be considered stable.
# ski
![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/shiroyk/ski)
[![Go Report Card](https://goreportcard.com/badge/github.com/shiroyk/ski)](https://goreportcard.com/report/github.com/shiroyk/ski)
![GitHub](https://img.shields.io/github/license/shiroyk/ski)<br/>
**ski** is a tool written in Golang for extracting structured data.
## Documentation
See [Wiki](https://github.com/shiroyk/cloudcat/wiki)
See [Wiki](https://github.com/shiroyk/ski/wiki)
## License
cloudcat is distributed under the [AGPL-3.0 license](https://github.com/shiroyk/cloudcat/blob/master/LICENSE.md).
ski is distributed under the [**MIT license**](https://github.com/shiroyk/ski/blob/master/LICENSE.md).
329 changes: 0 additions & 329 deletions analyzer.go

This file was deleted.

Loading
Loading