aboutsummaryrefslogtreecommitdiff
path: root/src/ee/tools/ninja.py
Commit message (Collapse)AuthorAgeFilesLines
* all tools: Creating a shared group of argument options. Processing thisTrygve Laugstøl2019-05-271-0/+3
| | | | | shared group too, changing the log level when logging options are specified.
* souffle:Trygve Laugstøl2019-05-271-1/+6
| | | | | | | | o Allowing to set MPNs when importing facts. o ninja: Allowing the user to have its own datalog files under ee/custom/kicad-souffle.dl and ee/custom/$supplier-souffle.dl. make_bom: Generate per-field URIs for custom URIs. Better than making values that contain custom field name + value.
* Adding Soufflé based reasoning on parts. Replacing default configurationTrygve Laugstøl2019-05-271-0/+1
| | | | with applying python function with this new reasoner.
* ninja: Making a phony goal 'ee-reports' that depends on all reports.Trygve Laugstøl2019-05-211-1/+5
| | | | Making the generated build.ninja mark 'ee-reports' as a default goal.
* ninja: Generate everything to 'ee.ninja', generate 'build.ninja' only ifTrygve Laugstøl2019-04-301-1/+10
| | | | | | it is missing. A stub build.ninja which includes ee.ninja will be generated once. This makes it easier for the user to do custom stuff in the standard Ninja file.
* o Renaming part-create-distributor-search-list to pn-part-search-list.Trygve Laugstøl2019-04-131-2/+2
| | | | | Making the search more narrow, it is only responsible to find parts based on MPN or SPN.
* create-distributor-search-list: Ignore mechanical parts.Trygve Laugstøl2019-03-281-7/+2
| | | | | | create-order: Adding an option for a strategy to ignore/modify parts. ninja/init: Moving strategy from ninja to init so they're more persistent.
* New command: init. Looks for kicad schematic and pcb files, createsTrygve Laugstøl2019-03-251-19/+22
| | | | | | | | .ee/config. ninja tool: o Use project's config to check for sch and pcb files. o Use some more conditionals in build.ninja.j2. unlockoslo: Adding demo project.
* ninja tool: changing to generate the files in the current directory.Trygve Laugstøl2019-03-251-3/+4
| | | | | build.ninja.j2: nits. olinuxino: Improving parsing of part values.
* order.rst.j2: Prettier internal links.Trygve Laugstøl2019-03-231-3/+7
| | | | ninja: Name the generated .rst file for orders too.
* o Adding module for searching on element14.Trygve Laugstøl2019-03-151-13/+37
| | | | | | | o Starting on functionality create orders. Very WIP. o Adding a concept of an "ee project". Can load a gitconfig-like config file. o Adding a tool to import a yaml file into a part xml file.
* o PartDB: don't die if the directory exist *and* is empty. Ninja createsTrygve Laugstøl2019-03-041-0/+80
empty parent directories. o PartDB: escape some path names. o new comamnd: "ninja". Generates a build.ninja from a sch. Not done!