Skip to content

Commit

Permalink
Merge pull request #134 from TheCacophonyProject/fix-travis-tsc
Browse files Browse the repository at this point in the history
Fix travis tsc
  • Loading branch information
CameronRP authored Jun 24, 2024
2 parents 5ab4c43 + 8aa987a commit be3fd8a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ language: go
go:
- "1.20.x"

before_install:
- npm install -g typescript

script:
- go mod tidy
- git diff --exit-code --quiet || (echo "Please run 'go mod tidy' to clean up the 'go.mod' and 'go.sum' files."; false)
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ build: install-packr install-typescript
install-typescript:
npm install typescript
npm install rollup
tsc
npx tsc

.PHONY: release
release: install-packr install-typescript
release: install-packr
curl -sL https://git.io/goreleaser | bash

.PHONY: clean
Expand Down

0 comments on commit be3fd8a

Please sign in to comment.