Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pygeoip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
pygeoip
Commits
97f96252
Commit
97f96252
authored
Jul 16, 2013
by
William Tisäter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace Makefile with bash script
parent
54636b7d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
23 deletions
+25
-23
Makefile
+0
-23
build.sh
+25
-0
No files found.
Makefile
deleted
100644 → 0
View file @
54636b7d
PANDOC
:=
$(
shell
which pandoc
)
VIRTUALENV
:=
$(
shell
which virtualenv
)
ifeq
($(PANDOC),)
$(warning
No
pandoc
binary
found)
endif
ifeq
($(VIRTUALENV),)
$(warning
No
virtualenv
binary
found)
endif
all
:
deps test doc
venv
:
@
virtualenv venv
@
venv/bin/pip install tox nose epydoc
test
:
venv
@
venv/bin/tox
doc
:
venv
@
venv/bin/epydoc
--config
=
epydoc.ini
--no-private
@
pandoc
--from
=
markdown
--to
=
rst
--output
=
README.rst README.md
build.sh
0 → 100755
View file @
97f96252
#!/bin/bash
function
error
{
echo
"Error:
$1
"
1>&2
exit
1
}
if
[
-z
$(
which pandoc
)
]
;
then
error
"Missing pandoc binary"
fi
if
[
-z
$(
which virtualenv
)
]
;
then
error
"Missing virtualenv binary"
fi
if
[
!
-d
venv
]
;
then
virtualenv venv
||
error
"virtualenv failed"
venv/bin/pip install tox nose epydoc
||
error
"pip failed"
fi
venv/bin/tox
||
error
"tox failed"
venv/bin/epydoc
--config
=
epydoc.ini
--no-private
||
error
"epydoc failed"
pandoc
-f
markdown
-t
rst
-o
README.rst README.md
||
error
"pandoc failed"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment