Skip to content

Commit

Permalink
Merge pull request #73 from duncdrum/poly-party
Browse files Browse the repository at this point in the history
Poly party
  • Loading branch information
duncdrum authored Jul 25, 2018
2 parents ff96840 + 5e51a65 commit 0c48384
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ npm i
npm link
```

Note: The generator extends the [polymer CLI](https://www.polymer-project.org/1.0/docs/tools/polymer-cli) for use with eXist. Unfortunately, this means we also inherit some warnings about its dependencies. You can safely ignore them. It also means that the initial installation can take a minute or two. Please be patient.

## Using the Generator
Then generate your new project: Create a new project folder and navigate to it in you CLI.

Expand All @@ -48,7 +46,7 @@ yo exist

[![asciicast](https://asciinema.org/a/MqB6TyzdyBJImItHLsfC99Ufj.png)](https://asciinema.org/a/MqB6TyzdyBJImItHLsfC99Ufj)

Note: If you told yeoman to use Github for your new project, your project will start initialised with all files added, out of the box.
Note: If you told yeoman to use Github for your new project, your project will start initialized with all files added, out of the box.

Some of the answers, such as username will be stored after the initial run of the generator. So you only have to type them once.

Expand Down
2 changes: 1 addition & 1 deletion generators/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,6 @@ module.exports = class extends Generator {
// }
}

// TODO: conditionally gulp watch
end () {
if (this.props.github) {
this.spawnCommandSync('git', ['init'])
Expand All @@ -977,6 +976,7 @@ module.exports = class extends Generator {
}
this.spawnCommandSync('ant', '-q')

// conditional gulp watch
// if (this.props.apptype[0] === 'polymer') {
// this.spawnCommandSync('gulp', ['watch'])
// }
Expand Down
2 changes: 1 addition & 1 deletion generators/app/templates/controller.xql
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ else if (contains($exist:path, "/$shared/")) then
<%_ if (apptype == 'polymer') { %>
else if ($exist:path eq "/demo/") then
<dispatch xmlns="http://exist.sourceforge.net/NS/exist">
<redirect url="/demo/index.html"/>
<redirect url="./index.html"/>
</dispatch>
<% } %>

Expand Down
2 changes: 1 addition & 1 deletion generators/app/templates/github/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ant
```
1. to only build a specific target call either ``dev`` or ``deploy`` like this:
```bash
ant deploy
ant dev
```

If you see ``BUILD SUCCESSFUL`` ant has generated a ``<%- title %>-<%- version %>.xar`` file in the ``build/`` folder. To install it, follow the instructions [above](#installation).
Expand Down

0 comments on commit 0c48384

Please sign in to comment.