Skip to content

Commit

Permalink
Use pcre2 instead of pcre
Browse files Browse the repository at this point in the history
  • Loading branch information
maxfierke committed Mar 9, 2023
1 parent 2399545 commit 21a062f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
run: curl -sSL https://dist.crystal-lang.org/apt/setup.sh | sudo bash

- name: Install crystal
run: sudo apt install -y crystal libevent-dev libpcre3-dev libreadline-dev libssl-dev libyaml-dev
run: sudo apt install -y crystal libevent-dev libpcre2-dev libreadline-dev libssl-dev libyaml-dev

- name: Install dependencies
run: shards install
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
crystal 1.7.2
crystal 1.7.3
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RELEASE ?=
STATIC ?=
SOURCES = src/*.cr src/**/*.cr

override CRFLAGS += --warnings=all --error-trace $(if $(RELEASE),--release ,--debug )$(if $(STATIC),--static )$(if $(LDFLAGS),--link-flags="$(LDFLAGS)" )
override CRFLAGS += -Duse_pcre2 --warnings=all --error-trace $(if $(RELEASE),--release ,--debug )$(if $(STATIC),--static )$(if $(LDFLAGS),--link-flags="$(LDFLAGS)" )

.PHONY: all
all: build
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The inspiration for `fincher` comes from "Panopticon", Season 4 Episode 1 in
Person of Interest, in which _The Machine_ encodes a message as typos in the
dissertation of one of the main characters, Harold Finch.

`fincher` is currently `0.1.0` and considered an **experiment**
`fincher` is currently `0.2.1` and considered an **experiment**
and a project for **funsies**. I am very interested in contributions & ideas!

## Disclaimer
Expand All @@ -37,7 +37,7 @@ $ brew install fincher

### Manually

1. Ensure you have the [crystal compiler installed](https://crystal-lang.org/docs/installation/) (0.25.1+)
1. Ensure you have the [crystal compiler installed](https://crystal-lang.org/docs/installation/) (1.7.0+)
2. Clone this repo
3. Run `make install RELEASE=1` to build for release mode and install
4. `fincher` will be installed to `/usr/local/bin` and usable anywhere, provided it's in your `PATH`.
Expand Down
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ targets:
fincher:
main: src/cli.cr

crystal: 1.7.2
crystal: 1.7.3

license: MIT

0 comments on commit 21a062f

Please sign in to comment.