To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorMiddleman CLI
- Scenarios
-
- Create a new project
- Create a new project (alias i)
- Create a new project (alias new)
- Create a new project (alias n)
- Create a new project with Rack
- Create a new project without Bundler
- Create a new HTML5 project
- Create a new HTML5 project with Rack
- Create a new Mobile HTML5 project
- Create a new Mobile HTML5 project with Rack
- Create a new project
-
- Given
-
I run
middleman init MY_PROJECT
- Then
- the exit status should be 0
- When
- I cd to "MY_PROJECT"
- Then
-
the following files should exist:
Gemfile config.rb source/index.html.erb source/images/background.png source/images/middleman.png source/layouts/layout.erb source/javascripts/all.js source/stylesheets/all.css source/stylesheets/normalize.css
- Create a new project (alias i)
-
- When
-
I run
middleman i MY_PROJECT
- Then
- a directory named "MY_PROJECT" should exist
- Create a new project (alias new)
-
- When
-
I run
middleman new MY_PROJECT
- Then
- a directory named "MY_PROJECT" should exist
- Create a new project (alias n)
-
- When
-
I run
middleman n MY_PROJECT
- Then
- a directory named "MY_PROJECT" should exist
- Create a new project with Rack
-
- When
-
I run
middleman init MY_PROJECT --rack
- Then
- a directory named "MY_PROJECT" should exist
- When
- I cd to "MY_PROJECT"
- Then
-
the following files should exist:
config.rb config.ru Gemfile
- Create a new project without Bundler
-
- When
-
I run
middleman init MY_PROJECT --no-bundler
- Then
- a directory named "MY_PROJECT" should exist
- When
- I cd to "MY_PROJECT"
- Then
-
the following files should exist:
config.rb - Then
-
the following files should not exist:
Gemfile config.ru
- Create a new HTML5 project
-
- When
-
I run
middleman init MY_PROJECT --template=html5
- Then
- a directory named "MY_PROJECT" should exist
- When
- I cd to "MY_PROJECT"
- Then
-
the following files should exist:
config.rb Gemfile - Then
-
the following files should not exist:
config.ru - And
- the file "config.rb" should contain "set :js_dir, 'js'"
- Then
- a directory named "source" should exist
- When
- I cd to "source"
- Then
-
the following files should exist:
index.html humans.txt js/script.js
- Create a new HTML5 project with Rack
-
- When
-
I run
middleman init MY_PROJECT --rack --template=html5
- Then
- a directory named "MY_PROJECT" should exist
- When
- I cd to "MY_PROJECT"
- Then
-
the following files should exist:
config.rb config.ru Gemfile
- Create a new Mobile HTML5 project
-
- When
-
I run
middleman init MY_PROJECT --template=mobile
- Then
- a directory named "MY_PROJECT" should exist
- When
- I cd to "MY_PROJECT"
- Then
-
the following files should exist:
config.rb Gemfile - Then
-
the following files should not exist:
config.ru - Then
- a directory named "source" should exist
- When
- I cd to "source"
- Then
-
the following files should exist:
index.html humans.txt js/libs/respond.min.js
- Create a new Mobile HTML5 project with Rack
-
- When
-
I run
middleman init MY_PROJECT --rack --template=mobile
- Then
- a directory named "MY_PROJECT" should exist
- When
- I cd to "MY_PROJECT"
- Then
-
the following files should exist:
config.rb config.ru Gemfile
Last published over 7 years ago by middleman.