瀏覽代碼

:gear: Updates justfile config

Jeff Triplett 3 年之前
父節點
當前提交
dd8772562e
共有 1 個文件被更改,包括 8 次插入2 次删除
  1. 8 2
      justfile

+ 8 - 2
justfile

@@ -8,13 +8,19 @@
     just toc
     bundle exec jekyll build
 
+@down:
+    just down
+
 @lint:
     -curlylint _layouts/
     -npx awesome-lint README.md
 
 @serve:
-    modd --file=modd.conf
-    bundle exec jekyll serve --drafts --watch --port 8000
+    # modd --file=modd.conf
+    just up ""
+
+@up *ARGS="-d":
+    docker-compose up {{ ARGS }}
 
 @toc:
 	npx doctoc README.md