All Projects → mozilla → pymake

mozilla / pymake

Licence: MIT license
INACTIVE - http://mzl.la/ghe-archive - make implementation in Python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to pymake

friendlycode
INACTIVE - http://mzl.la/ghe-archive - World's friendliest HTML editor.
Stars: ✭ 47 (-40.51%)
Mutual labels:  inactive, unmaintained
fx-share-addon
INACTIVE - http://mzl.la/ghe-archive - new addon version from fx-share branch
Stars: ✭ 13 (-83.54%)
Mutual labels:  inactive, unmaintained
receiptverifier
INACTIVE - http://mzl.la/ghe-archive - A helper Javascript library for doing useful things with Open Web Apps.
Stars: ✭ 13 (-83.54%)
Mutual labels:  inactive, unmaintained
webdev-bootcamp
INACTIVE - http://mzl.la/ghe-archive - How to be a Web developer at Mozilla
Stars: ✭ 57 (-27.85%)
Mutual labels:  inactive, unmaintained
cleopatra
INACTIVE - http://mzl.la/ghe-archive - UI for the gecko profiler
Stars: ✭ 26 (-67.09%)
Mutual labels:  inactive, unmaintained
wp-sw-manager
INACTIVE - http://mzl.la/ghe-archive - Service Worker infrastructure for WordPress plugins.
Stars: ✭ 44 (-44.3%)
Mutual labels:  inactive, unmaintained
devroadshow2017
INACTIVE - http://mzl.la/ghe-archive - Mozilla's Developer Roadshow 2017
Stars: ✭ 16 (-79.75%)
Mutual labels:  inactive, unmaintained
sauropod
INACTIVE - http://mzl.la/ghe-archive - Sauropod is a secure storage system for user data.
Stars: ✭ 12 (-84.81%)
Mutual labels:  inactive, unmaintained
mortar-layouts
INACTIVE - http://mzl.la/ghe-archive - A small library for constructing app UIs with backbone.js.
Stars: ✭ 19 (-75.95%)
Mutual labels:  inactive, unmaintained
mortar-list-detail
INACTIVE - http://mzl.la/ghe-archive - A list detail view template for an Open Web App.
Stars: ✭ 21 (-73.42%)
Mutual labels:  inactive, unmaintained
openbadges-specification
INACTIVE - http://mzl.la/ghe-archive - Specs related to Open Badges
Stars: ✭ 23 (-70.89%)
Mutual labels:  inactive, unmaintained
quality.mozilla.org
INACTIVE - http://mzl.la/ghe-archive - Mozilla's quality assurance community
Stars: ✭ 14 (-82.28%)
Mutual labels:  inactive, unmaintained
firefox-for-android-addons
INACTIVE - http://mzl.la/ghe-archive - [deprecated] A collection of JS modules, sample code, and boilerplate add-ons to help you build add-ons for Firefox for Android.
Stars: ✭ 46 (-41.77%)
Mutual labels:  inactive, unmaintained
happyforms
INACTIVE - http://mzl.la/ghe-archive - Extension to Django Forms that strips spaces
Stars: ✭ 14 (-82.28%)
Mutual labels:  inactive, unmaintained
wsoh
INACTIVE - http://mzl.la/ghe-archive - World Series of Hack
Stars: ✭ 44 (-44.3%)
Mutual labels:  inactive, unmaintained
f1
INACTIVE - http://mzl.la/ghe-archive - F1 is a browser extension that allows you to share links in a fast and fun way. Share links from within the browser, from any webpage, using the same services you already know and love. F1 is made by Mozilla.
Stars: ✭ 51 (-35.44%)
Mutual labels:  inactive, unmaintained
id-specs
INACTIVE - http://mzl.la/ghe-archive - Specifications for Mozilla's Identity Effort
Stars: ✭ 91 (+15.19%)
Mutual labels:  inactive, unmaintained
Garmr
INACTIVE - Security Testing Tool
Stars: ✭ 105 (+32.91%)
Mutual labels:  inactive, unmaintained
feedthefox
INACTIVE - http://mzl.la/ghe-archive - [deprecated] Firefox OS Participation Hub
Stars: ✭ 12 (-84.81%)
Mutual labels:  inactive, unmaintained
lean-data-practices
INACTIVE - http://mzl.la/ghe-archive - A toolkit to implement Lean Data Practices at your company.
Stars: ✭ 141 (+78.48%)
Mutual labels:  inactive, unmaintained
INTRODUCTION

make.py (and the pymake modules that support it) are an implementation of the make tool
which are mostly compatible with makefiles written for GNU make.

PURPOSE

The Mozilla project inspired this tool with several goals:

* Improve build speeds, especially on Windows. This can be done by reducing the total number
  of processes that are launched, especially MSYS shell processes which are expensive.

* Allow writing some complicated build logic directly in Python instead of in shell.

* Allow computing dependencies for special targets, such as members within ZIP files.

* Enable experiments with build system. By writing a makefile parser, we can experiment
  with converting in-tree makefiles to another build system, such as SCons, waf, ant, ...insert
  your favorite build tool here. Or we could experiment along the lines of makepp, keeping
  our existing makefiles, but change the engine to build a global dependency graph.

KNOWN INCOMPATIBILITIES

* Order-only prerequisites are not yet supported

* Secondary expansion is not yet supported.

* Target-specific variables behave differently than in GNU make: in pymake, the target-specific
  variable only applies to the specific target that is mentioned, and does not apply recursively
  to all dependencies which are remade. This is an intentional change: the behavior of GNU make
  is neither deterministic nor intuitive.

* $(eval) is only supported during the parse phase. Any attempt to recursively expand
  an $(eval) function during command execution will fail. This is an intentional incompatibility.

* There is a subtle difference in execution order that can cause unexpected changes in the
  following circumstance:
** A file `foo.c` exists on the VPATH
** A rule for `foo.c` exists with a dependency on `tool` and no commands
** `tool` is remade for some other reason earlier in the file
  In this case, pymake resets the VPATH of `foo.c`, while GNU make does not. This shouldn't
  happen in the real world, since a target found on the VPATH without commands is silly. But
  mozilla/js/src happens to have a rule, which I'm patching.

* pymake does not implement any of the builtin implicit rules or the related variables. Mozilla
  only cares because pymake doesn't implicitly define $(RM), which I'm also fixing in the Mozilla
  code.

ISSUES

* Speed is a problem.

FUTURE WORK

* implement a new type of command which is implemented in python. This would allow us
to replace the current `nsinstall` binary (and execution costs for the shell and binary) with an
in-process python solution.

AUTHOR

Initial code was written by Benjamin Smedberg <[email protected]>. For future releases see
http://benjamin.smedbergs.us/pymake/

See the LICENSE file for license information (MIT license)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].