Skip to content

Commit

Permalink
Merge pull request #200 from timlinux/nixos
Browse files Browse the repository at this point in the history
Update shell and vscode runners
  • Loading branch information
timlinux authored Apr 11, 2024
2 parents adf5e2b + 65a5227 commit 790b81d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
File renamed without changes.
15 changes: 9 additions & 6 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,19 @@ mkShell {
echo "🌈 Your Hugo Dev Environment is ready."
echo "It provides hugo and vscode for use with the QGIS Hugo Project"
echo ""
echo "🪛 Installing VSCode Extensions:"
echo "🪛 VSCode:"
echo "--------------------------------"
code --extensions-dir=".vscode-extensions" --install-extension maziac.asm-code-lens
echo "Start vscode like this:"
echo ""
echo "📒 Note:"
echo "./vscode.sh"
echo "-----------------------"
echo "start vscode like this:"
echo "On running, it will install hugo related extensions."
echo ""
echo "code --extensions-dir=\".vscode-extensions\" ."
echo "-----------------------"
echo "🪛 Hugo:"
echo "--------------------------------"
echo "Start hugo like this:"
echo ""
echo "hugo server"
'';
postShellHook = ''
'';
Expand Down
6 changes: 5 additions & 1 deletion vscode.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#!/usr/bin/env bash

code --extensions-dir=.vscode-extensions --install-extension akmittal.hugofy
code --extensions-dir=.vscode-extensions --install-extension arthaud-proust.hugo-partials-defs
code --extensions-dir=.vscode-extensions --install-extension eliostruyf.vscode-hugo-themer
code --extensions-dir=.vscode-extensions --install-extension hitkodev.vscode-remark-hugo
code --extensions-dir=.vscode-extensions --install-extension kaellarkin.hugo-shortcode-syntax
code --extensions-dir=".vscode-extensions" .

0 comments on commit 790b81d

Please sign in to comment.