servo/etc
bors-servo 4cb3404c09 Auto merge of #13845 - birryree:package-under-target-profile-dirs, r=aneeshusa
Part of #13551 - Create packages under release/debug directories as appropriate

r? @aneeshusa

This change implements fixes for #13551 for Linux and MacOS targets.

`/python/servo/package_commands.py` was modified so that:
- On MacOS, it creates all intermediate packaging directories like `dmg`, `brew`, and `brew-tmp` under `target/(release|debug)`, rather than in `target` directly.
- On MacOS, all packaging artifacts (`.dmg`, brew `.tar.gz`) are packaged under `target/(release|debug)`, rather than in `target` directly.
- On Linux, the resulting `tar.gz` Servo package is placed under `target/(release|debug)`, rather than in `target`.
- Also did some extra cleanup around path parsing in the MacOS packaging code, to use `os.path` methods rather than straight `'/'` parsing with `split` and `join` where it was applicable.

`/etc/ci/upload_nightly.sh` was modified to:
- Look for artifacts in `target/release` for `mac`, `macbrew`, and `linux` platforms, rather than just `target/`.

---

<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #13551
- [x] These changes do not require tests because it is based on CI and packaging tools. They were manually tested for correctness.

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

…lease/debug as specified or detected. Modify macos packaging to create all packages under release/debug directory. Updated etc/ci/upload_nightly.sh to support uploading from either release/debug directory, depending on what was built

<!-- Reviewable:start -->

---

This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13845)

<!-- Reviewable:end -->
2016-12-09 14:46:14 -08:00
..
ci Auto merge of #13845 - birryree:package-under-target-profile-dirs, r=aneeshusa 2016-12-09 14:46:14 -08:00
doc.servo.org Cargoify servo 2014-09-08 20:21:42 -06:00
layout_viewer Various layout fix to improve readability 2016-10-19 11:44:48 +08:00
cert_generator.js Only SSL CA certs 2015-01-31 16:10:17 +05:30
jsdefine Cargoify servo 2014-09-08 20:21:42 -06:00
patch-trace-template.py profile: Integrate the time profiler with the macOS signpost 2016-10-01 00:12:49 -07:00
rustdoc-style.html Cargoify servo 2014-09-08 20:21:42 -06:00
rustdoc-with-private Use rustdoc’s new --passes strip-priv-imports flag. 2016-03-07 15:03:32 +01:00
servo.sb Cargoify servo 2014-09-08 20:21:42 -06:00
servo_gdb.py Add flake8 to the tidy process for Python files 2015-06-04 11:17:34 -04:00
valgrind-memcheck.supp Add a valgrind suppression file. 2015-12-17 10:36:03 -06:00