aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-06-18 17:37:34 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-06-18 17:37:34 +0200
commit1ab181d1d7d75fd66c97d231d6eb77e1f05e0b3e (patch)
tree561137dc887e0b139ae9ea3bea7b6b1188f9f2f8 /Makefile
parentc19bd326ab93e79bbeebc32ad0a8efa2ed48d1b5 (diff)
downloadlens-1ab181d1d7d75fd66c97d231d6eb77e1f05e0b3e.tar.gz
lens-1ab181d1d7d75fd66c97d231d6eb77e1f05e0b3e.tar.bz2
lens-1ab181d1d7d75fd66c97d231d6eb77e1f05e0b3e.zip
feat: Move params to flags
Start using flags to set some params like key and database connection. As a flag parse I opt for a lib that uses posix style params.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9d82dd9..39c579c 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,10 @@ build:
$(GO_BUILD) -o $(OUT) $(SERVER)
run: sass
- $(GO_RUN) $(SERVER)
+ $(GO_RUN) $(SERVER) \
+ --log-level error \
+ --aes-key=6368616e676520746869732070617373 \
+ --root=${HOME} \
sass:
@mkdir -p static