Skip to content

Ignore fastboot build output file if app unused/disable fastboot#468

Merged
xg-wang merged 6 commits intoember-cli:masterfrom
houfeng0923:patch-1
Mar 28, 2020
Merged

Ignore fastboot build output file if app unused/disable fastboot#468
xg-wang merged 6 commits intoember-cli:masterfrom
houfeng0923:patch-1

Conversation

@houfeng0923
Copy link
Copy Markdown
Contributor

hi @xg-wang :
i am doing work on reducing assets files size for deploy.
there is no ember-cli-fastboot in my project , so can we remove fetch-fastboot file in outputTree ? .

@houfeng0923
Copy link
Copy Markdown
Contributor Author

btw, i find a related issue : #320

Copy link
Copy Markdown
Member

@xg-wang xg-wang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@houfeng0923
Copy link
Copy Markdown
Contributor Author

hi, @xg-wang , unit test appended is passed in local dev env , but CI is fail in pull.

@xg-wang
Copy link
Copy Markdown
Member

xg-wang commented Mar 23, 2020

@houfeng0923 I think CI fails because node8 doesn't have .finally

@houfeng0923
Copy link
Copy Markdown
Contributor Author

sorry, @xg-wang, last commit is passed in unit test, but CI always fail ,
maybe we need upgrade dependencies

});
});

it('build with process.env.FASTBOOT_DISABLED', function() {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default app does not have ember-cli-fastboot, this test needs to install then set the flag to actually test the case.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i know u meaning, but i think it's a case point in ember fastboot.
but if you think so, case can update .

@xg-wang
Copy link
Copy Markdown
Member

xg-wang commented Mar 25, 2020

@houfeng0923 the dependency issue is resolved, I tried to push your branch to a fork and ci is passing https://github.com/xg-wang/ember-fetch/runs/533697154

@xg-wang xg-wang changed the title ignore public fastboot file if app unused/disable fastboot Ignore fastboot build output file if app unused/disable fastboot Mar 28, 2020
@xg-wang xg-wang merged commit 6d6e700 into ember-cli:master Mar 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants