about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile32
1 files changed, 19 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index 424bbe18..a2fe08cc 100644
--- a/Makefile
+++ b/Makefile
@@ -30,16 +30,21 @@ options: help
 	@echo 'DESTDIR = $(DESTDIR)'
 
 help:
-	@echo 'make:          Test and compile ranger.'
-	@echo 'make install:  Install $(NAME)'
-	@echo 'make clean:    Remove the compiled files (*.pyc, *.pyo)'
-	@echo 'make doc:      Create the pydoc documentation'
-	@echo 'make cleandoc: Remove the pydoc documentation'
-	@echo 'make man:      Compile the manpage with "pod2man"'
-	@echo 'make manhtml:  Compile the html manpage with "pod2html"'
-	@echo 'make snapshot: Create a tar.gz of the current git revision'
-	@echo 'make test:     Test all testable modules of ranger'
-	@echo 'make todo:     Look for TODO and XXX markers in the source code'
+	@echo 'make:              Test and compile ranger.'
+	@echo 'make install:      Install $(NAME)'
+	@echo 'make pypi_sdist:   Release a new sdist to PyPI'
+	@echo 'make clean:        Remove the compiled files (*.pyc, *.pyo)'
+	@echo 'make doc:          Create the pydoc documentation'
+	@echo 'make cleandoc:     Remove the pydoc documentation'
+	@echo 'make man:          Compile the manpage with "pod2man"'
+	@echo 'make manhtml:      Compile the html manpage with "pod2html"'
+	@echo 'make snapshot:     Create a tar.gz of the current git revision'
+	@echo 'make test:         Test everything'
+	@echo 'make test_pylint:  Test using pylint'
+	@echo 'make test_flake8:  Test using flake8'
+	@echo 'make test_doctest: Test using doctest'
+	@echo 'make test_pytest:  Test using pytest'
+	@echo 'make todo:         Look for TODO and XXX markers in the source code'
 
 install:
 	$(PYTHON) setup.py install $(SETUPOPTS) \
@@ -50,7 +55,7 @@ compile: clean
 
 clean:
 	find ranger -regex .\*\.py[co]\$$ -delete
-	find ranger -depth -name __pycache__ -type d -exec rm -rf -- {} \;
+	find ranger -depth -name __pycache__ -type d -exec rm -r -- {} \;
 
 doc: cleandoc
 	mkdir -p $(DOCDIR)
@@ -106,7 +111,7 @@ manhtml:
 	pod2html doc/ranger.pod --outfile=doc/ranger.1.html
 
 cleandoc:
-	test -d $(DOCDIR) && rm -f -- $(DOCDIR)/*.html || true
+	test -d $(DOCDIR) && rm -- $(DOCDIR)/*.html || true
 
 snapshot:
 	git archive --prefix='$(NAME)-$(VERSION)/' --format=tar HEAD | gzip > $(SNAPSHOT_NAME)
@@ -116,4 +121,5 @@ dist: snapshot
 todo:
 	@grep --color -Ion '\(TODO\|XXX\).*' -r ranger
 
-.PHONY: clean cleandoc compile default dist doc help install man manhtml options snapshot test todo
+.PHONY: clean cleandoc compile default dist doc help install man manhtml \
+	options snapshot test test_pylint test_flake8 test_doctest test_pytest todo pypi_sdist
='Blame the previous revision' href='/runxiyu/www/blame/index.html?id=a204c1f21ce78b07459f3a6aaee864191a2ac3b8'>^
5cc56be ^
5aedb04 ^
4dc50f3 ^
4ba5c70 ^
4dc50f3 ^
7c075e5 ^
5aedb04 ^


851e49b ^
7f88334 ^



7f88334 ^





5aedb04 ^
9600032 ^
c1e9bff ^
7f88334 ^
9600032 ^


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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

                



                                                                                    
                                        
                                                        


                                  
                      
                                                
                   
                    
                      
                                                                                                                                                                                                                       
                                                                                                                                                                        


                                                                                            

                                                                          
                                                                                         
                                                                                                
                                                                        
                                                                                                       
                                                                                 
                                                                                                                                         


                      
                                                                              



                                                                                          





                                                                                                         
                     
                                 
                              
                                                                                                                                                                                                                                                                                                                                                


                      
<!DOCTYPE html>
<html lang="en">
	<head>
		<title>Andrew Yu</title>
		<link rel="stylesheet" href="/plain.css" />
		<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
		<meta charset="utf-8" />
		<style>#now {font-weight: bold;}</style>
	</head>
	<body>
		<h1>Andrew Yu</h1>
		<hr />
		<p id="now" style="rotate=180;">
		._.
		</p>
		<hr />
		<p id="about-me">I am Andrew Yu, a 15-year-old student in Shanghai, China, currently studying at YK Pao School.  I am interested in fundamental computer science, philosophy, biology, and physics.</p>
		<p id="pronouns"><a href="/note/pronouns.html">My pronouns in English are ``they/them/their/theirs/themself''. 我的中文代词是“他”。</a></p>
		<hr />
		<ul>
			<li><a href="https://www.andrewyu.org/">My Personal Website</a></li>
			<li><a href="/article/">Personal Articles</a></li>
			<li><a href="/contact.html">Contact</a></li>
			<li><a href="https://git.andrewyu.org/">Git Repositories</a></li>
			<li><a href="https://evosaur.andrewyu.org/">The Evosaur Project</a></li>
			<li><a href="/school/">School Stuff Hub</a></li>
			<li><a href="/other-articles/">Articles by Others I Find Worth Sharing</a></li>
			<li><a href="/buffer.html">Random Buffer Webpage</a></li>
			<li style="font-size: 50%;"><a href="https://users.andrewyu.org/~luk/andrew-leak.mp4">(Don't click here)</a></li>
		</ul>
		<hr />
		<ul>
			<li><a href="/note/pronouns.html">My Pronouns</a></li>
			<li><a href="/note/comms.html">Communication Guidelines</a></li>
			<li><a href="/note/wechat.html">``WeChat''</a></li>
			<li><a href="/note/ask.html">Don't ask to ask, just ask</a></li>
			<li><a href="/note/social-media.html">Modern Social Media</a></li>
			<li><a href="/note/emacs.html">My Problem with Emacs</a></li>
			<li><a href="/note/suicide-jokes.html">On Jokes about Suicide</a></li>
			<li><a href="/note/on-racist-jokes.html">On Racist Jokes</a></li>
			<li><a href="/note/tone.html">Tone Indicators</a></li>
			<li><a href="/note/really.html">``Really'' is a confusing word</a></li>
			<li><a href="/note/mailing-list-guidelines.html">Mailing List Guidelines</a></li>
		</ul>
		<div id="footer">
			<hr />
			<p>Unless otherwise specified with the ``<span class="copyright">copyright</span>'' HTML/CSS class, works hosted on this subdomain (<code>www.andrewyu.org</code>) served with the HTTP(S) protocol is available under <a href="https://www.andrewyu.org/note/pubdom.html">Andrew Yu's Public Domain Dedication</a>.</p>
		</div>
	</body>
</html>