mirror of
https://github.com/kiteco/vscode-plugin.git
synced 2024-09-17 19:17:32 +03:00
remove dependency on kite installer, add docker image and command to build production
This commit is contained in:
parent
9cdd049aba
commit
e8f8eeb5f9
4
Makefile
4
Makefile
@ -2,3 +2,7 @@ install:
|
||||
rm -rf ~/.vscode/extensions/kite.vscode
|
||||
mkdir -p ~/.vscode/extensions/kite.vscode
|
||||
cp extension.js package.json README.md ~/.vscode/extensions/kite.vscode
|
||||
|
||||
build-production:
|
||||
docker pull kiteco/build-vscode-plugin
|
||||
docker run --rm -v "$(PWD)":/vscode-plugin -w /vscode-plugin -t kiteco/build-vscode-plugin npm install --production
|
3
docker-image/Dockerfile
Normal file
3
docker-image/Dockerfile
Normal file
@ -0,0 +1,3 @@
|
||||
FROM node:6.10.2
|
||||
|
||||
CMD ["bash"]
|
8
docker-image/Makefile
Normal file
8
docker-image/Makefile
Normal file
@ -0,0 +1,8 @@
|
||||
build: Dockerfile
|
||||
docker build -t kiteco/build-vscode-plugin .
|
||||
|
||||
push: build
|
||||
docker push kiteco/build-vscode-plugin
|
||||
|
||||
deploy: push
|
||||
ssh build.kite.com docker pull kiteco/build-vscode-plugin
|
@ -66,7 +66,6 @@
|
||||
"dependencies": {
|
||||
"atob": "^2.0.3",
|
||||
"opn": "^1.0.0",
|
||||
"kite-installer": "git@github.com:kiteco/kite-installer.git#feature-vscode-support",
|
||||
"rollbar": "*",
|
||||
"md5": "^2.2.0"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user