Skip to content
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

Document files section of config for a target #15

Open
iislucas opened this issue Mar 14, 2015 · 0 comments
Open

Document files section of config for a target #15

iislucas opened this issue Mar 14, 2015 · 0 comments

Comments

@iislucas
Copy link

Would be great to document in the README the files section, and in particular note that src is within it, and also that files supports standard files descriptions and that all files in files are copied into the directory of the created chrome-app used for running the tests.

Might be good to give an example too... e.g... (this is from freedom-for-chrome)

jasmine_chromeapp: {
      providers: {
        files: [
          {src: 'freedom-for-chrome.js', dest: 'freedom-for-chrome.js'},
          {src: 'providers/**', dest: '/', cwd: freedomPrefix, expand: true},
          {src: 'spec/**', dest: '/', cwd: freedomPrefix, expand: true},
          {src: 'spec.js', dest: 'spec.js'},
        ],
        options: {
          paths: [
            'freedom-for-chrome.js',
            'spec.js'
          ],
          keepRunner: false
        }
      }
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant