|
|
@ -23,20 +23,20 @@ var ProjectTypes = []*Project{
|
|
23
|
23
|
&Project{"clojure/leiningen", Commands{"run": "lein run", "test": "lein test"}, clojureLeiningen},
|
|
24
|
24
|
&Project{"docker/fig", Commands{"run": "fig up"}, dockerFig},
|
|
25
|
25
|
&Project{"docker/default", Commands{}, dockerDefault},
|
|
26
|
|
&Project{"executable/default", Commands{"run": "{file}"}, executableDefault},
|
|
|
26
|
&Project{"executable", Commands{"run": "{file}"}, executableDefault},
|
|
27
|
27
|
&Project{"go/default", Commands{"build": "go build {file}", "run": "go build {file} && $(basename {file} .go)"},
|
|
28
|
28
|
goDefault},
|
|
29
|
29
|
&Project{"java/maven", Commands{"build": "mvn compile", "test": "mvn compile test"}, javaMaven},
|
|
30
|
30
|
&Project{"javascript/npm", Commands{}, javascriptNpm},
|
|
31
|
31
|
&Project{"javascript/meteor", Commands{"run": "meteor"}, javascriptMeteor},
|
|
32
|
32
|
&Project{"javascript/default", Commands{"run": "node {file}"}, javascriptDefault},
|
|
33
|
|
&Project{"make/default", Commands{"run": "make"}, makeDefault},
|
|
34
|
|
&Project{"procfile/default", Commands{}, procfileDefault},
|
|
35
|
33
|
&Project{"python/django", Commands{}, pythonDjango},
|
|
36
|
34
|
&Project{"python/default", Commands{"run": "python {file}"}, pythonDefault},
|
|
37
|
35
|
&Project{"ruby/rails", Commands{"run": "rails server", "test": "bundle exec rake test"}, rubyRails},
|
|
38
|
36
|
&Project{"ruby/rake", Commands{"run": "rake"}, rubyRake},
|
|
39
|
37
|
&Project{"ruby/default", Commands{"run": "ruby {file}"}, rubyDefault},
|
|
|
38
|
&Project{"make", Commands{"run": "make"}, makeDefault},
|
|
|
39
|
&Project{"procfile", Commands{}, procfileDefault},
|
|
40
|
40
|
}
|
|
41
|
41
|
|
|
42
|
42
|
func Detect(file string) (*Project, error) {
|