Commit graph

11 commits

Author SHA1 Message Date
sommersoft
4b060c0495 Merge branch 'examples' of https://github.com/sommersoft/circuitpython-build-tools into examples 2018-10-16 20:52:48 -05:00
sommersoft
b0f19ccf1b fix README location in zip 2018-10-16 20:42:35 -05:00
sommersoft
ff34fa38c4
remove debug print; add cwd to git tag subprocess 2018-10-15 09:30:29 -05:00
sommersoft
a7ef777ff3 include VERSIONS.txt in examples bundle 2018-10-13 12:10:46 -05:00
sommersoft
d4044dc39e added examples to each bundle; example bundle build. see bundle issue #3. 2018-10-11 16:10:03 -05:00
Scott Shawcroft
2dbfc78b38
No longer include update scripts in the bundle
They are out of date
2018-03-05 15:29:26 -08:00
Scott Shawcroft
34cb857217 Fail a multi-lib build when a submodule is missing a release. 2018-01-04 17:10:38 -08:00
Scott Shawcroft
477a7f7b55 Raise an error when multiple top-level py files exist.
We used to attempt to create a package for the files but this will
change the import behavior only when bundled. Instead, the error
prompts the library author to fix it by combining the files or
creating a package.
2017-12-26 11:45:30 -08:00
Scott Shawcroft
1f7cc3e854 Add support for replacing placeholder version string with git tag
based versions that are semver compatible. If a prerelease
identifier is already present we'll bump ahead by adding `.plus.`
and the number of subsequent commits. If its not, we'll bump the
patch digit and call it `alpha.0` and add the remaining `.plus.` bit.

This also changes the file names of the mpy zips to include "-mpy-"
which should help space out two potentially confusing version strings
(that of circuitpython and that of the library.)
2017-12-20 11:52:10 -08:00
Scott Shawcroft
0ebd43007b Update pip package name used when determining version. 2017-12-06 14:45:10 -08:00
Scott Shawcroft
ba07a7ad87 Use click to do proper argument parsing and rework for building
single library bundles.
2017-11-30 11:54:16 -08:00