Makefile and scripts for simply and uni dev-ops, current include go, docker
- go
- docker
choose needed to install
- platform
MacOS/Linux
- bash 5.0+
- gnu-getopt MacOS
- git 2.34.1+
- make 3.81+
- docker 20.10.5+
- docker-compose maybe 2.2.2+
- upx
- go go1.17+
- binary version for
-ldflags
You can easily install by install.sh
, but only support into the root dir of your project
, default branch release
.
release
curl -sSfL https://raw.githubusercontent.com/v8fg/uni-deploy/release/install.sh | bash
wget -O- -nv https://raw.githubusercontent.com/v8fg/uni-deploy/release/install.sh | bash
wget -qO- https://raw.githubusercontent.com/v8fg/uni-deploy/release/install.sh | bash
specify branch: [release, main, dev]
curl -sSfL https://raw.githubusercontent.com/v8fg/uni-deploy/release/install.sh | bash -s dev
wget -O- -nv https://raw.githubusercontent.com/v8fg/uni-deploy/release/install.sh | bash -s dev
base < (curl -sSfL https://raw.githubusercontent.com/v8fg/uni-deploy/release/install.sh) dev
base < (wget -O- -nv https://raw.githubusercontent.com/v8fg/uni-deploy/release/install.sh) dev
better clone into your project root dir
git clone https://github.com/v8fg/uni-deploy.git -b <branch> [path]
bash all.sh -h
more usage:
bash all.sh -h
bash uni-deploy/all.sh -c uninstall
- the submodule
uni-deploy
must in the root dir for your project
- the submodule