Skip to content

Commit

Permalink
chore: updates makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
amir20 committed Aug 13, 2024
1 parent 7f735d2 commit 0d3ed03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ docker: shared_key.pem shared_cert.pem
generate: shared_key.pem shared_cert.pem $(GEN_FILES)

.PHONY: dev
dev: shared_key.pem shared_cert.pem
dev: generate fake_assets
pnpm dev

.PHONY: int
Expand All @@ -45,7 +45,7 @@ int:
shared_key.pem:
@openssl genpkey -algorithm RSA -out shared_key.pem -pkeyopt rsa_keygen_bits:2048

shared_cert.pem:
shared_cert.pem: shared_key.pem
@openssl req -new -key shared_key.pem -out shared_request.csr -subj "/C=US/ST=California/L=San Francisco/O=Dozzle"
@openssl x509 -req -in shared_request.csr -signkey shared_key.pem -out shared_cert.pem -days 365
@rm shared_request.csr
Expand Down

0 comments on commit 0d3ed03

Please sign in to comment.