File tree 13 files changed +249
-0
lines changed 13 files changed +249
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Numerous always-ignore extensions
2
+ * .diff
3
+ * .err
4
+ * .orig
5
+ * .log
6
+ * .rej
7
+ * .swo
8
+ * .swp
9
+ * .vi
10
+ * ~
11
+ * .sass-cache
12
+
13
+ # OS or Editor folders
14
+ ._ *
15
+ .DS_Store
16
+ ._.DS_Store
17
+ Thumbs.db
18
+ .cache
19
+ .project
20
+ .settings
21
+ .tmproj
22
+ * .esproj
23
+ nbproject
24
+
25
+ # Sublimetext
26
+ * .sublime- *
27
+
28
+ # Jekyll
29
+ build /
30
+
31
+ # Komodo
32
+ * .komodoproject
33
+ .komodotools
34
+
35
+ # Folders to ignore
36
+ .hg
37
+ .svn
38
+ .CVS
39
+ intermediate
40
+ publish
41
+ .idea
42
+ _site
43
+ /node_modules /
44
+ /_src /
45
+
Original file line number Diff line number Diff line change
1
+ module .exports = ->
2
+ # Project configuration
3
+ @initConfig
4
+ pkg : @file .readJSON ' package.json'
5
+
6
+ connect :
7
+ dev :
8
+ options :
9
+ hostname : ' *'
10
+ port : 4000
11
+ base : ' _site'
12
+
13
+ sass :
14
+ src :
15
+ options :
16
+ sourcemap : true
17
+ style : ' compressed'
18
+ files :
19
+ ' css/main.css' : ' css/main.scss'
20
+ site :
21
+ options :
22
+ sourcemap : true
23
+ style : ' compressed'
24
+ files :
25
+ ' _site/css/main.css' : ' _site/css/main.scss'
26
+
27
+ copy :
28
+ site2src :
29
+ files : [
30
+ expand : true
31
+ cwd : ' _site/css/'
32
+ src : [' main.*' ],
33
+ dest : ' css/'
34
+ ]
35
+
36
+ # imagemin:
37
+ # dist:
38
+ # options:
39
+ # optimizationLevel: 7
40
+ # files: [
41
+ # expand: true # only compressing jpg right now
42
+ # cwd: 'img-src/'
43
+ # src: ['**/*.jpg']
44
+ # dest: 'img/',
45
+ # ext: '.jpg'
46
+ # ]
47
+
48
+ jekyll :
49
+ dev :
50
+ options : {}
51
+
52
+ # docco:
53
+ # noflo:
54
+ # src: ['_src/src/lib/*.coffee']
55
+ # options:
56
+ # output: 'api/'
57
+ # template: '_docco/docco.jst'
58
+
59
+ shell :
60
+ gitclone :
61
+ command : ' git clone git://github.com/php-vcr/php-vcr.git _src'
62
+
63
+ watch :
64
+ # php-vcr-api-docs:
65
+ # files: [
66
+ # '_docco/*.jst'
67
+ # ]
68
+ # tasks: ['docco']
69
+ jekyll :
70
+ files : [
71
+ ' _config.yml'
72
+ ' index.html'
73
+ ' **/*.html'
74
+ ' **/*.md'
75
+ ' **/*.js'
76
+ ' **/*.css'
77
+ ' **/_posts/*.md'
78
+ # Ignore the generated files
79
+ ' !_site/*'
80
+ ' !_src/*'
81
+ ' !_site/**/*'
82
+ ' !_src/**/*'
83
+ ' !node_modules/**'
84
+ ' !.git/**'
85
+ ]
86
+ tasks : [' jekyll' ]
87
+ sass :
88
+ files : [
89
+ ' css/*.scss'
90
+ ]
91
+ tasks : [' sass:src' ]
92
+
93
+ siteSass :
94
+ files : [
95
+ ' _site/css/*.scss'
96
+ ]
97
+ tasks : [' sass:site' , ' copy:site2src' ]
98
+
99
+ @ loadNpmTasks ' grunt-jekyll'
100
+ @ loadNpmTasks ' grunt-shell'
101
+ # @loadNpmTasks 'grunt-docco'
102
+ @ loadNpmTasks ' grunt-contrib-connect'
103
+ @ loadNpmTasks ' grunt-contrib-watch'
104
+ @ loadNpmTasks ' grunt-contrib-sass'
105
+ @ loadNpmTasks ' grunt-contrib-copy'
106
+ # @loadNpmTasks 'grunt-contrib-imagemin'
107
+
108
+ # @registerTask 'img', [
109
+ # 'copy:img'
110
+ # 'imagemin:dist'
111
+ # ]
112
+ @ registerTask ' chrome' , [
113
+ ' connect:dev'
114
+ ' build'
115
+ ' sass:site'
116
+ ' watch:siteSass'
117
+ ]
118
+ @ registerTask ' dev' , [
119
+ ' connect:dev'
120
+ ' build'
121
+ # 'watch'
122
+ ' watch:jekyll'
123
+ ' watch:php-vcr'
124
+ ' watch:sass'
125
+ ]
126
+ @ registerTask ' build' , [
127
+ ' sass:src'
128
+ ' shell:gitclone'
129
+ # 'docco'
130
+ ' jekyll'
131
+ ]
132
+ @ registerTask ' default' , [' dev' ]
Original file line number Diff line number Diff line change
1
+ PHP-VCR Website
2
+ ===============
3
+
4
+ Sources for the [ php-vcr] ( http://php-vcr.github.io ) website.
5
+
6
+ ## Contributing to the site
7
+
8
+ Feel free to send pull requests. Local site development is handled using [ Grunt] ( http://gruntjs.com/ ) .
9
+
10
+ Install the dependencies with:
11
+
12
+ $ npm install
13
+
14
+ You also need some additional tools:
15
+
16
+ $ sudo gem install jekyll
17
+ $ sudo gem install sass --pre
18
+
19
+ Then to develop the site, run:
20
+
21
+ $ grunt dev
22
+
23
+ This will start a web server at < http://localhost:4000 > . Grunt watches for any changes in the source files and triggers a rebuild as needed.
24
+
25
+
Original file line number Diff line number Diff line change
1
+ title : PHP-VCR
2
+ tagline : Record HTTP interactions while testing
3
+ permalink : /:categories/:title/
4
+ baseurl : " "
5
+ repository :
6
+ web : " https://github.com/adri/php-vcr"
7
+ git : " git://github.com/php-vcr/php-vcr.git"
8
+ google :
9
+ search : " "
10
+ analytics : " "
11
+ plus : " "
12
+ exclude :
13
+ - " node_modules"
14
+ - " Gruntfile.coffee"
15
+ - " README.md"
16
+ - " npm-debug.log"
17
+ - " package.json"
18
+ - " php-vcr.github.io.sublime-project"
19
+ - " php-vcr.github.io.sublime-workspace"
Original file line number Diff line number Diff line change
1
+ ---
2
+ layout: default
3
+ title: PHP-VCR | Record HTTP interactions while testing
4
+ ---
5
+
6
+ test
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " php-vcr-org" ,
3
+ "version" : " 1.0.0" ,
4
+ "devDependencies" : {
5
+ "grunt" : " ~0.4.1" ,
6
+ "grunt-jekyll" : " ~0.3.8" ,
7
+ "grunt-contrib-connect" : " ~0.3.0" ,
8
+ "grunt-contrib-watch" : " ~0.5.1" ,
9
+ "grunt-contrib-sass" : " ~0.4.1" ,
10
+ "grunt-contrib-copy" : " ~0.4.1" ,
11
+ "grunt-shell" : " ~0.3.1" ,
12
+ "grunt-docco" : " ~0.2.0"
13
+ }
14
+ }
You can’t perform that action at this time.
0 commit comments