0.2.0 • Published 8 years ago

ember-gitlab-pages v0.2.0

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
8 years ago

Ember-gitlab-pages

Pretty much lifted bodily (with minor changes) from ember-cli-github-pages

Install and Setup

Pretty much the exact same as the github-pages version:

ember install ember-gitlab-pages

You'll still need to do first time setup onto your pages branch:

git add -A && git commit -m "Added ember-cli-github-pages addon"

Then you need to create the pages branch and remove the unnecessary files:

git checkout --orphan pages && rm -rf `bash -c "ls -a | grep -vE '\.gitignore|\.git|\.gitlab-ci\.yml|node_modules|bower_components|(^[.]{1,2}/?$)'"` && git add -A && git commit -m "initial pages commit"

this addon also ships with a macro for the above command

ember gitlab-pages:init

Usage

Once that's done, it's pretty much the same thing as in github-pages, except replace github with gitlab.

Then run ember gitlab-pages:commit --message "some commit message" in order to rebuild pages branch.

git checkout master
ember gitlab-pages:commit --message "Initial gitlab pages release"

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • npm test (Runs ember try:testall to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://ember-cli.com/.

0.2.0

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago