1
1
Fork 0
mirror of https://github.com/tonydamage/nux-env.git synced 2025-12-11 13:24:28 +01:00

Added nux-env script for managing nux-env.

Signed-off-by: Tony Tkacik <tonydamage@gmail.com>
This commit is contained in:
Tony Tkáčik 2016-11-11 20:20:20 +01:00
parent 490a31a195
commit 0a8f22df48

23
bin/nux-env Executable file
View file

@ -0,0 +1,23 @@
#!/usr/bin/env nux-runner
### Portable *nix environment by tonydamage
## status - Show status of nux-env installation
task.status() {
echo nux-env folder: $NUX_ENV_DIR
pushd $NUX_ENV_DIR > /dev/null
git status
popd > /dev/null
}
## update - pulls latest nux-env from repository.
task.update() {
pushd $NUX_ENV_DIR > /dev/null
git stash
git pull -r
git stash pop
popd > /dev/null
}
task.install() {
:
}