Skip to content

Commit 2388dfe

Browse files
committed
Update build script
1 parent f26a17b commit 2388dfe

File tree

4 files changed

+21
-5
lines changed

4 files changed

+21
-5
lines changed

build.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,5 @@ set -e
44
set -o pipefail
55
set -x
66

7-
yarn install
87
yarn run netlify-lambda build functions
9-
10-
poetry install --no-dev
11-
poetry run ditto transform --base-url='https://pokeapi-prod.netlify.com/' --dest-dir='_dist'
8+
ditto transform --base-url='https://pokeapi-prod.netlify.com/' --dest-dir='_dist'

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build]
22
publish = "_dist"
3-
command = "pip install poetry && bash build.sh"
3+
command = "bash build.sh"
44
functions = "_functions"
55

66
[[redirects]]

requirements.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
certifi==2018.8.24
2+
chardet==3.0.4
3+
click==6.7
4+
Flask==1.0.2
5+
Flask-Cors==3.0.6
6+
genson==1.0.1
7+
gevent==1.3.6
8+
greenlet==0.4.15
9+
idna==2.7
10+
itsdangerous==0.24
11+
Jinja2==2.10
12+
MarkupSafe==1.0
13+
pokeapi-ditto==0.3.0
14+
requests==2.19.1
15+
six==1.11.0
16+
tqdm==4.26.0
17+
urllib3==1.23
18+
Werkzeug==0.14.1

runtime.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.6

0 commit comments

Comments
 (0)