git clone --recursive https://git.fluxo.info/rhatto/apps $HOME/apps && cd $HOME/apps
-Then check the source integrity of the latest release (also implemented on `git-check-tag` on `utils-git` subfolder):
+Then check the source integrity of the latest release:
- git verify-commit HEAD
+ /usr/bin/git -C $HOME/apps verify-commit HEAD
Then add each subfolder from the `apps` repository to your `$PATH` depending on which projects you want to use.
Then, after manually checking repository versions:
- $HOME/apps/inception load
+ $HOME/apps/inception load --all --deps
Once installed locally, you can deploy remotelly using rsync+ssh:
(
cd $DIRNAME
- echo "Loading all dotfiles..."
- ./metadot/metadot load --all
- ./metadot/metadot deps --all
+ BUNDLE="$2"
+ DEPENDENCIES="$3"
+
+ if [ "$BUNDLE" == "--all" ]; then
+ echo "Loading all dotfiles..."
+ ./metadot/metadot load --all
+ ./metadot/metadot deps --all
+ elif [ -z "$BUNDLE" ]; then
+ echo "Loading $BUNDLE dotfiles..."
+ ./metadot/metadot load-bundle $BUNDLE
+
+ if [ "$DEPENDENCIES" == "--deps" ]; then
+ ./metadot/metadot deps-bundle $BUNDLE
+ fi
+ fi
)
echo "Done. Logout and login again to apply all changes."