-
Notifications
You must be signed in to change notification settings - Fork 109
/
Makefile
29 lines (22 loc) · 792 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
dummy:
exit 0
_get_dependency:
git clone --recursive $(REPO) dep
cd dep; git checkout $(TAG); git submodule update --init --recursive
mv dep/$(TARGET) dependencies/
rm -rf dep
.PHONY: dependencies
dependencies:
rm -rf dependencies/
mkdir dependencies/
$(MAKE) _get_dependency -e REPO=https://github.com/davidhalter/jedi -e TAG=v0.17.1 -e TARGET=jedi
$(MAKE) _get_dependency -e REPO=https://github.com/davidhalter/parso -e TAG=v0.7.0 -e TARGET=parso
patch --dry-run -p0 < jedi_0.17.x.patch
patch -p0 < jedi_0.17.x.patch
clean:
find . -name '*.pyc' -delete
# will build a sublime package
build: clean
zip -r SublimeJEDI.sublime-package `ls` -x .git SublimeJEDI.sublime-package *.pyc
dev_install_mac:
ln -s "${PWD}" ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/