summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2016-08-05drop modification of version during make-tarball, tools changes.Scott Moser
Modification of the tarball became problematic, as it meant that any tool extracting source would find the orig source tarball different. I found this unusable when trying to use 'gbp buildpackage'. Other changes here are to better support using python3 or python2 for the build. Makefile will try to call the right python version and can be told which python to use. read-version: by adding 'tiny_p' and avoiding the import of cloudinit.util, we need less dependencies to run this.
2016-03-04Apply pep8, pyflakes fixes for python2 and 3Scott Moser
Update make check target to run pep8 and run pyflakes or pyflakes3 depending on the value of 'PYVER'. This way the python3 build environment does not need python2 and vice versa. Also have make check run the 'yaml' test. tox: have tox run pep8 in the pyflakes
2016-03-03Apply pep8, pyflakes fixes for python2 and 3 Ryan Harper
Update make check target to use pep8, pyflakes, pyflakes3.
2016-03-03Fix pyflake/pyflake3 errorsRyan Harper
Now we can run make check to assess pep8, pyflakes for python2 or 3 And execute unittests via nosetests (2 and 3).
2016-03-03Update pep8 runner and fix pep8 issuesRyan Harper
2016-03-03Makefile: add make check target to run pep8, pyflakes, unittestsRyan Harper
Run a check of pep8, pyflakes (py27), pyflakes3 (py34), and use nosetest and nosetest3 to run unittests. We should pass all of these.
2016-03-03make package build run testsScott Moser
2016-03-03run pyflakes in more places, fix falloutScott Moser
this makes 'make' run pyflakes, so failures there will stop a build. also adds it to tox.
2015-05-01fix 'Make pyflakes'Scott Moser
2014-08-26further remove evidence of pylint.Scott Moser
This just removes comments '# pylint:' things and other code remnents of pylint.
2014-08-26Remove pylintJay Faulkner
pylint was not passing, and per smoser in IRC pylint can/should be removed.
2014-01-20merge requirement changesJoshua Harlow
This splits up 'Requires' into requirements.txt and test-requirements.txt to differenciate the build dependencies and runtime dependencies. one sticky thing still exists in that the packages/bddeb doesn't: - list any Build-Depends - address versions in the requirements.txt
2014-01-19Add output when starting to run testsJoshua Harlow
2014-01-19Phony not phoneJoshua Harlow
2014-01-17Run pyc cleaning before running testsJoshua Harlow
2014-01-17Update makefile to install from updated requirements filesJoshua Harlow
2013-07-17fix indentation a bit in MakefileScott Moser
2013-06-27Add support for building a SLES rpm packageJuerg Haefliger
2012-11-14Add a check on the changelog version comparing to the code version.Joshua Harlow
2012-11-07Add a makefile yaml checking targetJoshua Harlow
and fix the cases where the cc yaml is not correct.
2012-11-07trivial: -name first is faster due to no need for statScott Moser
2012-10-27Helpful cleanups.harlowja
1. Remove the usage of the path.join function now that all code should be going through the util file methods (and they can be mocked out as needed). 2. Adjust all occurences of the above join function to either not use it or replace it with the standard os.path.join (which can also be mocked out as needed) 3. Fix pylint from complaining about the tests folder 'helpers.py' not being found 4. Add a pylintrc file that is used instead of the options hidden in the 'run_pylint' tool.
2012-08-09fix pylint in all files used by ./tools/run-pylintScott Moser
'make pylint' was not checking tests and tools. This fixies a bunch of pylint/pep8 issues in that code. It also enables 'make pylint' to check them.
2012-07-09Makefile: change deb and rpm targets to not change working dirScott Moser
'cd packages && ./bddeb' is no longer necessary.
2012-06-26Add a section for building an rpm and a section for building a debJoshua Harlow
2012-06-231. Separate the pep8 check from the pylint checkharlowja
a. This allows them to be run as different tools (if desired) 2. Adjust the makefile to have a 'make pep8' section which can run this new script
2012-06-21Pass along any environment settings via the variable 'noseopts'Joshua Harlow
2012-06-20Add in the new binary to be used in files found.Joshua Harlow
2012-06-181. Add in a clean section that will remove the /var/lib/cloud dir and the ↵Joshua Harlow
cloud.log file (helpful for testing)
2012-06-16Add the running of 2to3 via the makefile.Joshua Harlow
2012-06-15Updated so that pylint and pyflakes will now run over cloudinit/ and bin/ ↵Joshua Harlow
python files
2012-01-12Tweak Makefile to just run unittests for the "all" target.Mike Milner
2012-01-12Add initial unit test framework.Mike Milner
Add initial tests for mergedict.