File tree 3 files changed +20
-2
lines changed
3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -96,8 +96,10 @@ deps: .state/docker-build
96
96
PATH=" /opt/warehouse/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" \
97
97
bin/deps
98
98
99
- requirements/% .txt : requirements/% .in .state/env/pyvenv.cfg
100
- $(BINDIR ) /pip-compile --allow-unsafe --generate-hashes --output-file=$@ $<
99
+ requirements/% .txt : requirements/% .in
100
+ docker-compose run --rm web env -i ENCODING=" C.UTF-8" \
101
+ PATH=" /opt/warehouse/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" \
102
+ bin/pip-compile --allow-unsafe --generate-hashes --output-file=$@ $<
101
103
102
104
github-actions-deps :
103
105
ifneq ($(GITHUB_BASE_REF ) , false)
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -e
3
+
4
+ # Click requires us to ensure we have a well configured environment to run
5
+ # our click commands. So we'll set our environment to ensure our locale is
6
+ # correct.
7
+ export LC_ALL=" ${ENCODING:- en_US.UTF-8} "
8
+ export LANG=" ${ENCODING:- en_US.UTF-8} "
9
+
10
+ COMMAND_ARGS=$@
11
+
12
+ # Print all the followng commands
13
+ set -x
14
+
15
+ pip-compile $COMMAND_ARGS
Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ services:
89
89
- sponsorlogos:/var/opt/warehouse/sponsorlogos
90
90
- simple:/var/opt/warehouse/simple
91
91
- ./bin:/opt/warehouse/src/bin:z
92
+ - ./requirements:/opt/warehouse/src/requirements:z
92
93
ports :
93
94
- " 80:8000"
94
95
You can’t perform that action at this time.
0 commit comments