This repository has been archived by the owner on Apr 16, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(tools): add bootstrap script for Docker
Signed-off-by: Edwin Török <edwin@etorok.net>
- Loading branch information
1 parent
65ea455
commit e275d0a
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
echo "Executing initial bootstrap/sync" | ||
rm -f local-share-nvim/plugin/packer_compiled.lua | ||
rm -f doom-nvim-contrib/plugin/packer_compiled.lua | ||
rm -rf local-share-nvim/ local-state-nvim/ | ||
./start_docker.sh -- --rm --entrypoint='["/usr/bin/nvim","--headless","--cmd","autocmd User PackerComplete quitall","--cmd","autocmd User DoomStarted PackerSync"]' | ||
./start_docker.sh -- --rm --entrypoint='["/usr/bin/nvim","--headless","--cmd","autocmd User PackerComplete quitall","--cmd","autocmd User DoomStarted PackerSync"]' | ||
echo "Testing config" | ||
exec ./start_docker.sh -- --rm --entrypoint='["/usr/bin/nvim","--headless","+qa"]' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
rm local-share-nvim/ local-state-nvim/ -rf | ||
rm -f doom-nvim-contrib/plugin/packer_compiled.lua | ||
echo | ||
echo "Bootstrapping packages" | ||
echo | ||
exec ./start_docker.sh -- --entrypoint='["/usr/bin/nvim","--headless","--cmd","autocmd User PackerComplete quitall"]' |