-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
22 lines (15 loc) · 813 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
install: build
@echo "Installing cfn-ami-to-mapping"
@pip install dist/cfn-ami-to-mapping-* && echo "✅ Package successfully installed" || echo "❌ Something went wrong during the package installation"
remove:
@echo "Uninstalling cfn-ami-to-mapping"
@pip uninstall cfn-ami-to-mapping -y && echo "✅ Package successfully uninstalled" || echo "❌ Something went wrong during the package removal"
update: remove install
build:
@python3 setup.py sdist bdist_wheel && echo "Building the package" && echo "✅ Package successfully built" || echo "❌ Something went wrong during the build"
check:
@twine check dist/*
clean:
@echo "Removing build"
@rm -Rf dist/ *.egg-info/ build/ &&echo "✅ Build successfully removed" || echo "❌ Something went wrong during the build removal"
rebuild: clean build