Skip to content

Commit

Permalink
Bump Sandbox node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
JackPlowman committed Apr 3, 2024
1 parent 5293976 commit 2152543
Show file tree
Hide file tree
Showing 4 changed files with 3,139 additions and 6 deletions.
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
SHELL=/bin/bash -euo pipefail

#Installs dependencies using poetry.
install-python:
install-python: # Currently broken
poetry install

#Installs dependencies using npm.
Expand All @@ -10,16 +10,18 @@ install-node:
cd sandbox && npm install --legacy-peer-deps

#Configures Git Hooks, which are scripts that run given a specified event.
.git/hooks/pre-commit:
install-git-hooks:
cp scripts/pre-commit .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit

#Condensed Target to run all targets above.
install: install-node install-python .git/hooks/pre-commit
install: install-node install-git-hooks
# make install-python - Currently broken

#Run the npm linting script (specified in package.json). Used to check the syntax and formatting of files.
lint:
npm run lint
find . -name '*.py' -not -path '**/.venv/*' | xargs poetry run flake8
# find . -name '*.py' -not -path '**/.venv/*' | xargs poetry run flake8

#Removes build/ + dist/ directories
clean:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ You can install some pre-commit hooks to ensure you can't commit invalid spec ch
in CI, but it's useful to run them locally too.

```
$ make install-hooks
$ make install
```

### Environment Variables
Expand Down
Loading

0 comments on commit 2152543

Please sign in to comment.