flatiron/blacksmith

Can't render the tests (using blacksmith 1.1.0)

Closed this issue · 2 comments

Nothing get's rendered when I try to render the tests (the folders are created though). I'm running node v0.8.4 on OSX.

Gizur-Laptop-5:docsite jonas$ blacksmith
Rendering: /Users/jonas/Dropbox/git/local/blacksmith/test/fixtures/docsite
Done rendering: /Users/jonas/Dropbox/git/local/blacksmith/test/fixtures/docsite
Gizur-Laptop-5:docsite jonas$ ls -al public/
css/         topic-one/   topic-three/ topic-two/   
Gizur-Laptop-5:docsite jonas$ ls -al public/topic-
topic-one/   topic-three/ topic-two/   
Gizur-Laptop-5:docsite jonas$ ls -alR public
total 0
drwxr-xr-x  6 jonas  staff  204 20 Nov 20:09 .
drwxr-xr-x  8 jonas  staff  272 19 Nov 22:31 ..
drwxr-xr-x  3 jonas  staff  102 19 Nov 22:31 css
drwxr-xr-x  2 jonas  staff   68 20 Nov 20:09 topic-one
drwxr-xr-x  2 jonas  staff   68 20 Nov 20:09 topic-three
drwxr-xr-x  3 jonas  staff  102 20 Nov 20:09 topic-two

public/css:
total 8
drwxr-xr-x  3 jonas  staff   102 19 Nov 22:31 .
drwxr-xr-x  6 jonas  staff   204 20 Nov 20:09 ..
-rw-r--r--  1 jonas  staff  3443 19 Nov 22:31 styles.css

public/topic-one:
total 0
drwxr-xr-x  2 jonas  staff   68 20 Nov 20:09 .
drwxr-xr-x  6 jonas  staff  204 20 Nov 20:09 ..

public/topic-three:
total 0
drwxr-xr-x  2 jonas  staff   68 20 Nov 20:09 .
drwxr-xr-x  6 jonas  staff  204 20 Nov 20:09 ..

public/topic-two:
total 0
drwxr-xr-x  3 jonas  staff  102 20 Nov 20:09 .
drwxr-xr-x  6 jonas  staff  204 20 Nov 20:09 ..
drwxr-xr-x  2 jonas  staff   68 20 Nov 20:09 dir-post

public/topic-two/dir-post:
total 0
drwxr-xr-x  2 jonas  staff   68 20 Nov 20:09 .
drwxr-xr-x  3 jonas  staff  102 20 Nov 20:09 ..
Gizur-Laptop-5:docsite jonas$ 

@colmsjo Not seeing this. Can you try upgrading to the latest nodejs and blacksmith and try:

  git clone https://github.com/flatiron/blacksmith.git
  cd blacksmith
  npm install
  ls test/fixtures/docsite/public
  ./bin/blacksmith test/fixtures/docsite
  ls test/fixtures/docsite/public

The output I see is:

  ...git output...
  ...npm output...
  $ ls test/fixtures/docsite/public
  css
  ./bin/blacksmith test/fixtures/docsite
  Rendering: test/fixtures/docsite
  Done rendering: test/fixtures/docsite
  $ ls test/fixtures/docsite/public
  css       index.html  topic-one   topic-three topic-two
  $ ls test/fixtures/docsite/public/topic-one
  a-post.html

ok, now it works. /Thanks