mirror of
https://github.com/correl/urilib.git
synced 2024-11-14 19:19:33 +00:00
Base repository structure
This commit is contained in:
commit
68078b14bf
7 changed files with 150 additions and 0 deletions
59
.gitignore
vendored
Normal file
59
.gitignore
vendored
Normal file
|
@ -0,0 +1,59 @@
|
|||
# Created by .ignore support plugin (hsz.mobi)
|
||||
### Erlang template
|
||||
.eunit
|
||||
deps
|
||||
*.o
|
||||
*.beam
|
||||
*.plt
|
||||
erl_crash.dump
|
||||
ebin
|
||||
rel/example_project
|
||||
.concrete/DEV_MODE
|
||||
.rebar
|
||||
### JetBrains template
|
||||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio
|
||||
|
||||
*.iml
|
||||
|
||||
## Directory-based project format:
|
||||
.idea/
|
||||
# if you remove the above rule, at least ignore the following:
|
||||
|
||||
# User-specific stuff:
|
||||
# .idea/workspace.xml
|
||||
# .idea/tasks.xml
|
||||
# .idea/dictionaries
|
||||
|
||||
# Sensitive or high-churn files:
|
||||
# .idea/dataSources.ids
|
||||
# .idea/dataSources.xml
|
||||
# .idea/sqlDataSources.xml
|
||||
# .idea/dynamic.xml
|
||||
# .idea/uiDesigner.xml
|
||||
|
||||
# Gradle:
|
||||
# .idea/gradle.xml
|
||||
# .idea/libraries
|
||||
|
||||
# Mongo Explorer plugin:
|
||||
# .idea/mongoSettings.xml
|
||||
|
||||
## File-based project format:
|
||||
*.ipr
|
||||
*.iws
|
||||
|
||||
## Plugin-specific files:
|
||||
|
||||
# IntelliJ
|
||||
/out/
|
||||
|
||||
# mpeltonen/sbt-idea plugin
|
||||
.idea_modules/
|
||||
|
||||
# JIRA plugin
|
||||
atlassian-ide-plugin.xml
|
||||
|
||||
# Crashlytics plugin (for Android Studio and IntelliJ)
|
||||
com_crashlytics_export_strings.xml
|
||||
crashlytics.properties
|
||||
crashlytics-build.properties
|
13
.travis.yml
Normal file
13
.travis.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
sudo: false
|
||||
language: erlang
|
||||
otp_release:
|
||||
- R15B
|
||||
- R16B03
|
||||
- 17.5
|
||||
- 18.0
|
||||
- 18.1
|
||||
- 18.2
|
||||
- 18.2.1
|
||||
before_script:
|
||||
- make build-plt
|
||||
script: make test && make dialyze
|
28
LICENSE
Normal file
28
LICENSE
Normal file
|
@ -0,0 +1,28 @@
|
|||
Copyright (c) 2016, Gavin M. Roy
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
* Neither the name of urllib nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
32
Makefile
Normal file
32
Makefile
Normal file
|
@ -0,0 +1,32 @@
|
|||
PROJECT=urllib
|
||||
REBAR=bin/rebar
|
||||
|
||||
all: get-deps compile
|
||||
|
||||
build-plt:
|
||||
@dialyzer --build_plt --output_plt ~/.$(PROJECT).plt \
|
||||
--apps kernel stdlib erts
|
||||
|
||||
clean:
|
||||
@( $(REBAR) clean )
|
||||
|
||||
compile:
|
||||
@( $(REBAR) compile )
|
||||
|
||||
dialyze:
|
||||
@dialyzer ebin/*.beam --plt ~/.$(PROJECT).plt
|
||||
|
||||
doc:
|
||||
@echo "Running rebar doc..."
|
||||
@$(REBAR) skip_deps=true doc
|
||||
|
||||
eunit:
|
||||
@echo "Running rebar eunit..."
|
||||
@$(REBAR) skip_deps=true eunit
|
||||
|
||||
get-deps:
|
||||
@( $(REBAR) get-deps )
|
||||
|
||||
test: all eunit
|
||||
|
||||
.PHONY: dialyze doc eunit
|
2
README.rst
Normal file
2
README.rst
Normal file
|
@ -0,0 +1,2 @@
|
|||
urllib
|
||||
======
|
BIN
bin/rebar
Executable file
BIN
bin/rebar
Executable file
Binary file not shown.
16
rebar.config
Normal file
16
rebar.config
Normal file
|
@ -0,0 +1,16 @@
|
|||
%% -*- erlang -*-
|
||||
{cover_enabled, true}.
|
||||
{cover_print_enabled, true}.
|
||||
{clean_files, ["*.eunit", "ebin/*.beam"]}.
|
||||
{deps, [
|
||||
{edown, ".*", {git, "https://github.com/uwiger/edown.git", "HEAD"}}
|
||||
]}.
|
||||
{erl_opts, [fail_on_warning]}.
|
||||
{edoc_opts, [{doclet, edown_doclet},
|
||||
{src_path, ["src/"]},
|
||||
{stylesheet, ""},
|
||||
{image, ""},
|
||||
{edown_target, github}]}.
|
||||
{eunit_exclude_deps, true}.
|
||||
{eunit_opts, [verbose, {skip_deps, true}, {report,{eunit_surefire,[{dir,"."}]}}]}.
|
||||
{lib_dirs,["deps"]}.
|
Loading…
Reference in a new issue