@@ -8,30 +8,30 @@ format: node_modules
8
8
9
9
.PHONY : install
10
10
install : code-examples/protect-page-login/nextjs/package-lock.json code-examples/protect-page-login/expressjs/package-lock.json package-lock.json code-examples/protect-page-login/go/go.sum code-examples/auth-api/expressjs/package-lock.json code-examples/protect-page-login/vue/package-lock.json code-examples/protect-page-login/flutter_web_redirect/pubspec.lock code-examples/protect-page-login/react/package-lock.json
11
- cd code-examples/protect-page-login/nextjs && npm i
12
- cd code-examples/protect-page-login/expressjs && npm i
13
- npm i
14
- cd code-examples/protect-page-login/flutter_web_redirect && flutter pub get
15
- cd code-examples/protect-page-login/go && go mod download && go build -o server
16
- cd code-examples/protect-page-login/php && composer install
17
- cd code-examples/auth-api/expressjs && npm i
18
- cd code-examples/protect-page-login/vue && npm i
19
- cd code-examples/protect-page-login/react && npm i
11
+ cd code-examples/protect-page-login/nextjs && npm i
12
+ cd code-examples/protect-page-login/expressjs && npm i
13
+ npm i
14
+ cd code-examples/protect-page-login/flutter_web_redirect && flutter pub get
15
+ cd code-examples/protect-page-login/go && go mod download && go build -o server
16
+ cd code-examples/protect-page-login/php && composer install
17
+ cd code-examples/auth-api/expressjs && npm i
18
+ cd code-examples/protect-page-login/vue && npm i
19
+ cd code-examples/protect-page-login/react && npm i
20
20
21
21
.PHONY : build-examples
22
22
build-examples :
23
- cd code-examples/protect-page-login/nextjs && npm run build
24
- cd code-examples/protect-page-login/flutter_web_redirect && flutter build web --web-renderer html
25
- cd code-examples/protect-page-login/vue && VUE_APP_API_URL=http://localhost:4007 VUE_APP_ORY_URL=http://localhost:3006 npm run build
26
- cd code-examples/protect-page-login/react && npm run build
23
+ cd code-examples/protect-page-login/nextjs && npm run build
24
+ cd code-examples/protect-page-login/flutter_web_redirect && flutter build web --web-renderer html
25
+ cd code-examples/protect-page-login/vue && VUE_APP_API_URL=http://localhost:4007 VUE_APP_ORY_URL=http://localhost:3006 npm run build
26
+ cd code-examples/protect-page-login/react && npm run build
27
27
28
28
.PHONY : test
29
29
test : install build-examples .bin/ory
30
- ./src/scripts/test.sh
30
+ ./src/scripts/test.sh
31
31
32
32
.bin/ory : Makefile
33
- bash <( curl https://raw.githubusercontent.com/ory/meta/master/install.sh) -d -b .bin ory v0.1.33
34
- touch -a -m .bin/ory
33
+ bash <( curl https://raw.githubusercontent.com/ory/meta/master/install.sh) -d -b .bin ory v0.1.33
34
+ touch -a -m .bin/ory
35
35
36
36
node_modules : package-lock.json
37
37
npm ci
0 commit comments