diff --git a/tools/docker_bootstrap.sh b/tools/docker_bootstrap.sh new file mode 100755 index 00000000..7f1255d0 --- /dev/null +++ b/tools/docker_bootstrap.sh @@ -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"]' diff --git a/tools/docker_clean_bootstrap.sh b/tools/docker_clean_bootstrap.sh new file mode 100755 index 00000000..7b12da41 --- /dev/null +++ b/tools/docker_clean_bootstrap.sh @@ -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"]'