Commit Graph

30 Commits

Author SHA1 Message Date
Luke Street 584ec3de5f Only write metadata.source_path if source file exists 2024-09-29 13:58:15 -06:00
Luke Street 2f94ccb062 Minor cleanup 2024-09-17 19:21:54 -06:00
Luke Street f49a9cbb62 Fancy progress output fixes 2024-09-17 19:21:17 -06:00
Nathan 3f0a1529ff
Move conditional linker flag additions from project.py to configure.py (#35) 2024-09-07 02:18:53 -06:00
Luke Street 2049aeb371 Fixes for empty progress categories 2024-09-06 19:40:12 -06:00
Luke Street 2f052e0982 objdiff.json output fixes
Ensures that most unit fields are written even
when missing the source file or auto-generated
2024-09-04 21:50:26 -06:00
Luke Street af452140cc
Support custom progress categories (#33)
* WIP custom progress categories

* Working progress categories & type fixes
2024-09-04 08:55:19 -06:00
Steven Casper 4b1995b381
Allow spaces after '#' character (#29) 2024-08-17 21:18:22 -06:00
Luke Street f29cfaf313 Add build/GAMEID/report.json rule using objdiff-cli 2024-08-12 18:09:10 -06:00
Luke Street b7077b66b2 Output `src/*.s` files into the correct build dir
Before, it would put both `asm/*.s` (modding overrides)
and `src/*.s` files (matching source files that happen
to be assembly) into `build/mod`.
2024-08-11 18:22:28 -06:00
Luke Street a57d08dd07 Add `ninja tools` helper for downloading all tools 2024-08-11 18:07:07 -06:00
NWPlayer123 5e7990495b
Allow Custom Build Steps/Rules (#27) 2024-08-06 21:08:26 -06:00
LagoLunatic 5c333bd399
Fix auto-decomp.me scratch config ignoring extra_cflags (#25) 2024-07-11 14:46:39 -04:00
Luke Street 182de95dae Remove "collected" from fancy progress message 2024-06-09 22:42:12 -06:00
Luke Street 08a61d78b2 Enable all decomp.me compiler mappings 2024-06-09 22:37:51 -06:00
Nathan cf654dd8ad
Allow adding re-configure dependencies and doing non-matching builds (#22)
* Fix type checking errors with config version

* Add optional reconfigure dependency list to project config

* Add non-matching build option
Skips hash check and progress output

* Uncomment `config.reconfig_deps` assignment

* Change default target for non-matching instead of stubbing check/progress
2024-05-18 14:50:32 -06:00
Robin Avery 5ea53e5a59
Fix misplaced `None` assignment in project.py (#20) 2024-03-14 17:18:01 -06:00
Robin Avery 0be47a04f7
Fix dtk binary feature (#18) 2024-03-04 23:19:57 -07:00
Robin Avery 95c866aa9d
Support disabling asm overrides and fix lint errors (#17) 2024-03-04 22:13:39 -07:00
Robin Avery 1d3192a4aa
Support specifying a dtk binary (#14) 2024-03-04 18:13:10 -07:00
Luke Street 6debc74abf Fix Windows path handling
ninja_syntax.py should be writing native
platform paths instead of converting
things to unix paths.

Separately, fixed type errors introduced
by the previous commit.
2024-03-04 08:19:20 -07:00
Luke Street 192191ced2
Assembly modding support & objdiff + decomp.me integration (#15)
* Add initial asm build support

* WIP decomp.me and links
2024-03-03 22:47:05 -07:00
Robin Avery bf77cea86d
Fix `pyright` complaints and run `black` (#12) 2024-02-29 11:21:44 -07:00
Robin Avery 2e4bd593e5
Set mode `+x` on executable Python scripts (#10) 2024-01-26 10:42:46 -07:00
Thaddeus Crews 575e3b4a46
Implement mypy fixes across all python files (#4)
• Type hinting added to every single file
• Path conversion now handled in `ninja_syntax.py` natively, can safely pass almost everything directly
2024-01-23 23:21:46 -07:00
Phillip Stephens 04c8b45f93
Add ability to print progress in a fun way. (#2)
This adds the ability to specify both code/data fractions and item specifiers
2023-12-20 18:59:04 -07:00
Phillip Stephens e84ce8db06
Add 'src_dir' override for libraries (#1)
This allows projects to specify external libraries more easily.
Particularly useful for common libraries shared between decomp projects,
enabling the use of submodules/subtrees to deduplicated decomp efforts
2023-12-18 21:55:36 -07:00
Luke Street 1bcf33638f Sync various changes from other repos & minor updates 2023-11-21 20:14:25 -05:00
Luke Street bfe4567c0c Update tools & use new compilers URL 2023-10-10 23:29:45 -04:00
Luke Street 5b8fbc6cd5 Initial commit 2023-10-04 23:30:39 -04:00