Skip to content

Commit 4d3dfdf

Browse files
committed
Adds acme.sh as embedded script
1 parent 9288fa4 commit 4d3dfdf

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ test/cypress/fixtures/example.json
1919
docker-build
2020
data
2121
dist
22+
backend/embed/acme.sh

backend/embed/acme.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/bash
2+
3+
echo "This is a placeholder for the official acme.sh script"
4+
echo "that will be embedded into the binary. If you are seeing"
5+
echo "this message then something is not quite right."
6+
exit 1

backend/embed/main.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@ var Assets embed.FS
1313
// MigrationFiles are database migrations
1414
//go:embed migrations/*.sql
1515
var MigrationFiles embed.FS
16+
17+
// AcmeSh script
18+
//go:embed acme.sh
19+
var AcmeSh embed.FS

0 commit comments

Comments
 (0)