Skip to content

Instantly share code, notes, and snippets.

@lonnen
Last active December 30, 2015 12:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lonnen/7830281 to your computer and use it in GitHub Desktop.
Save lonnen/7830281 to your computer and use it in GitHub Desktop.
draft socorro makefile target changes
what we've got now:
all
test
test-socorro
test-webapp
bootstrap
install
reinstall
install-socorro
lint
clean
breakpad
stackwalker
analysis
json_enhancements_pg_extension
webapp-django
targets:
bootstrap - make sure local deps for a dev environment are satisfied
tests $component - run the tests (bootstrap && test-logic)
release - package a release tarball (tests && release logic)
clean - clean up any files created by the other targets
rough mapping of new to old:
all -
test - tests
test-socorro - tests collector; tests processor; tests mware; tests admin;
test-webapp - tests webapp
bootstrap - bootstrap
install - release
reinstall - release
install-socorro - release
lint - tests $component (lint step everywhere)
clean - targets
breakpad - bootstrap
stackwalker - bootstrap
analysis - bootstrap
json_enhancements_pg_extension - ????
webapp-django - release
components:
stackwalker/breakpad
socorro_app
collector
processor
admin/crontabber/crons
middleware
webapp
----
Maybe we should abandon make and write four idempotent bash scripts instead, with the following make targets lumped into four new scripts.
bootstrap:
breakpad
stackwalker
analysis
bootstrap
test:
bootstrap
lint
test-socorro
test-webapp
cibuild:
install
reinstall
install-socorro
webapp-django
clean:
clean
@rhelmer
Copy link

rhelmer commented Dec 6, 2013

json_enhancements_pg_extension can go away once we've upgraded to 9.2, @selenamarie might be depending on it in the meantime though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment