-
-
Notifications
You must be signed in to change notification settings - Fork 387
Add pending_changelog target #1549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,11 +13,14 @@ | |
| ifeq (,${LATEST}) | ||
| LATEST:=$(shell cat VERSION) | ||
| endif | ||
| # Next major DMD release | ||
| NEXT_VERSION:=$(shell bash -c 'version=$$(cat VERSION);a=($${version//./ });a[1]="10\#$${a[1]}";((a[1]++)); a[2]=0; echo $${a[0]}.0$${a[1]}.$${a[2]};' ) | ||
|
|
||
| # Externals | ||
| DMD_DIR=../dmd | ||
| PHOBOS_DIR=../phobos | ||
| DRUNTIME_DIR=../druntime | ||
| TOOLS_DIR=../tools | ||
| DUB_DIR=../dub-${DUB_VER} | ||
| DMD=$(DMD_DIR)/src/dmd | ||
| DMD_REL=$(DMD_DIR)-${LATEST}/src/dmd | ||
|
|
@@ -150,7 +153,8 @@ SPEC_ROOT=$(addprefix spec/, \ | |
| abi simd) | ||
| SPEC_DD=$(addsuffix .dd,$(SPEC_ROOT)) | ||
|
|
||
| CHANGELOG_FILES=$(basename $(subst _pre.dd,.dd,$(wildcard changelog/*.dd))) | ||
| CHANGELOG_FILES=$(basename $(subst _pre.dd,.dd,$(wildcard changelog/*.dd))) \ | ||
| changelog/${NEXT_VERSION} | ||
|
|
||
| # Website root filenames. They have extension .dd in the source | ||
| # and .html in the generated HTML. Save for the expansion of | ||
|
|
@@ -519,7 +523,17 @@ test: | |
| # Changelog generation | ||
| ################################################################################ | ||
|
|
||
| pending_changelog: | ||
| @echo "This command will be available soon." | ||
| changelog/${NEXT_VERSION}.dd: ${STABLE_DMD} ../tools ../installer | ||
| $(STABLE_RDMD) $(TOOLS_DIR)/changed.d "v${LATEST}..upstream/stable" -o changelog/${NEXT_VERSION}.dd \ | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Always using stable seems incorrect when the purpose of this target is trying to build the changelog for dmd/druntime/phobos PRs.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was already changed, as we realized that showing the bug list from Bugzilla will lead to unrelated diffs on DAutoTest: #1588 |
||
| --version "${NEXT_VERSION}" | ||
|
|
||
| pending_changelog: changelog/${NEXT_VERSION}.dd html | ||
| @echo "Please open file:///$(shell pwd)/web/changelog/${NEXT_VERSION}.html in your browser" | ||
|
|
||
| ../tools: | ||
| git clone https://github.com/dlang/tools ../tools | ||
|
|
||
| ../installer: | ||
| git clone https://github.com/dlang/installer ../installer | ||
|
|
||
| .DELETE_ON_ERROR: # GNU Make directive (delete output files on error) | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changelog/${NEXT_VERSION}_pre.dd