Skip to content
This repository
Newer
Older
100644 324 lines (244 sloc) 11.805 kb
945483c8 » rwaldron
2011-01-19 [#261] Updates Makefile and adds build/ with tools
1 PREFIX = .
2 BUILD_DIR = ${PREFIX}/build
3 DIST_DIR = ${PREFIX}/dist
05fb26d9 » David Humphrey
2011-02-19 Rework Makefile, add popcorn + plugin packaging.
4 PLUGINS_DIR = ${PREFIX}/plugins
99159c3a » David Humphrey
2011-03-11 Add parsers to popcorn-complete, linting, plus fixes to parsers for m…
5 PARSERS_DIR = ${PREFIX}/parsers
df98c221 » David Humphrey
2011-03-17 Makefile changes for players, complete, lint-players [ticket #420].
6 PLAYERS_DIR = ${PREFIX}/players
c0bf5148 » David Humphrey
2011-06-23 Add effets/ to all necessary targets, create new effects targets, fix…
7 EFFECTS_DIR = $(PREFIX)/effects
ed8151f9 » cadecairos
2011-09-19 added preload=auto to unit tests. muted unit tests. added Module stuf…
8 MODULES_DIR = $(PREFIX)/modules
a1b7db67 » humphd
2012-07-20 [#1123] Popcorn Media Wrappers: YouTube, Vimeo, SoundCloud, Audio, Vi…
9 WRAPPERS_DIR = $(PREFIX)/wrappers
847a5f5d » David Humphrey
2012-03-06 Add ie8 target to Makefile [ticket 939]
10 IE8_DIR = $(PREFIX)/ie8
945483c8 » rwaldron
2011-01-19 [#261] Updates Makefile and adds build/ with tools
11
c0bf5148 » David Humphrey
2011-06-23 Add effets/ to all necessary targets, create new effects targets, fix…
12 # Version number used in naming release files. Defaults to git commit sha.
13 VERSION ?= $(shell git show -s --pretty=format:%h)
08dc612a » unknown
2011-03-15 Bug #322 - Added credits to source code and version input to make fil…
14
945483c8 » rwaldron
2011-01-19 [#261] Updates Makefile and adds build/ with tools
15 RHINO ?= java -jar ${BUILD_DIR}/js.jar
16
17 CLOSURE_COMPILER = ${BUILD_DIR}/google-compiler-20100917.jar
845e02c3 » David Humphrey
2011-02-19 Review fixes.
18 compile = @@${MINJAR} $(1) \
19 --compilation_level SIMPLE_OPTIMIZATIONS \
20 --js_output_file $(2)
945483c8 » rwaldron
2011-01-19 [#261] Updates Makefile and adds build/ with tools
21
22 # minify
23 MINJAR ?= java -jar ${CLOSURE_COMPILER}
24
25 # source
26 POPCORN_SRC = ${PREFIX}/popcorn.js
27
28 # distribution files
29 POPCORN_DIST = ${DIST_DIR}/popcorn.js
30 POPCORN_MIN = ${DIST_DIR}/popcorn.min.js
31
ed8151f9 » cadecairos
2011-09-19 added preload=auto to unit tests. muted unit tests. added Module stuf…
32 # modules
33 MODULES_DIST = ${DIST_DIR}/popcorn.modules.js
34 MODULES_MIN = ${DIST_DIR}/popcorn.modules.min.js
35
a1b7db67 » humphd
2012-07-20 [#1123] Popcorn Media Wrappers: YouTube, Vimeo, SoundCloud, Audio, Vi…
36 # wrappers
37 WRAPPERS_DIST = ${DIST_DIR}/popcorn.wrappers.js
38 WRAPPERS_MIN = ${DIST_DIR}/popcorn.wrappers.min.js
39
05fb26d9 » David Humphrey
2011-02-19 Rework Makefile, add popcorn + plugin packaging.
40 # plugins
41 PLUGINS_DIST = ${DIST_DIR}/popcorn.plugins.js
42 PLUGINS_MIN = ${DIST_DIR}/popcorn.plugins.min.js
43
99159c3a » David Humphrey
2011-03-11 Add parsers to popcorn-complete, linting, plus fixes to parsers for m…
44 # plugins
45 PARSERS_DIST = ${DIST_DIR}/popcorn.parsers.js
46 PARSERS_MIN = ${DIST_DIR}/popcorn.parsers.min.js
47
df98c221 » David Humphrey
2011-03-17 Makefile changes for players, complete, lint-players [ticket #420].
48 # players
49 PLAYERS_DIST = ${DIST_DIR}/popcorn.players.js
50 PLAYERS_MIN = ${DIST_DIR}/popcorn.players.min.js
51
c0bf5148 » David Humphrey
2011-06-23 Add effets/ to all necessary targets, create new effects targets, fix…
52 # effects
53 EFFECTS_DIST = $(DIST_DIR)/popcorn.effects.js
54 EFFECTS_MIN = $(DIST_DIR)/popcorn.effects.min.js
55
05fb26d9 » David Humphrey
2011-02-19 Rework Makefile, add popcorn + plugin packaging.
56 # Grab all popcorn.<plugin-name>.js files from plugins dir
57 PLUGINS_SRC := $(filter-out %unit.js, $(shell find ${PLUGINS_DIR} -name 'popcorn.*.js' -print))
58
d1946ef7 » cadecairos
2011-05-30 added separate lint targets for plugin, player and parser unit tests.…
59 # Grab all popcorn.<plugin-name>.js files from parsers dir
99159c3a » David Humphrey
2011-03-11 Add parsers to popcorn-complete, linting, plus fixes to parsers for m…
60 PARSERS_SRC := $(filter-out %unit.js, $(shell find ${PARSERS_DIR} -name 'popcorn.*.js' -print))
61
df98c221 » David Humphrey
2011-03-17 Makefile changes for players, complete, lint-players [ticket #420].
62 # Grab all popcorn.<player-name>.js files from players dir
63 PLAYERS_SRC := $(filter-out %unit.js, $(shell find ${PLAYERS_DIR} -name 'popcorn.*.js' -print))
64
ed8151f9 » cadecairos
2011-09-19 added preload=auto to unit tests. muted unit tests. added Module stuf…
65 # Grab all popcorn.<effect-name>.js files from effects dir
c0bf5148 » David Humphrey
2011-06-23 Add effets/ to all necessary targets, create new effects targets, fix…
66 EFFECTS_SRC := $(filter-out %unit.js, $(shell find $(EFFECTS_DIR) -name 'popcorn.*.js' -print))
67
ed8151f9 » cadecairos
2011-09-19 added preload=auto to unit tests. muted unit tests. added Module stuf…
68 # Grab all popcorn.<Module-name>.js files from modules dir
69 MODULES_SRC := $(filter-out %unit.js, $(shell find $(MODULES_DIR) -name 'popcorn.*.js' -print))
70
a1b7db67 » humphd
2012-07-20 [#1123] Popcorn Media Wrappers: YouTube, Vimeo, SoundCloud, Audio, Vi…
71 # Grab all popcorn.<wrapper-name>.js files from modules dir
72 WRAPPERS_SRC := $(filter-out %unit.js, $(shell find $(WRAPPERS_DIR) -name 'popcorn.*.js' -print))
73
ed8151f9 » cadecairos
2011-09-19 added preload=auto to unit tests. muted unit tests. added Module stuf…
74 # Grab all popcorn.<plugin-name>.unit.js files from plugins dir
d1946ef7 » cadecairos
2011-05-30 added separate lint targets for plugin, player and parser unit tests.…
75 PLUGINS_UNIT := $(shell find ${PLUGINS_DIR} -name 'popcorn.*.unit.js' -print)
76
ed8151f9 » cadecairos
2011-09-19 added preload=auto to unit tests. muted unit tests. added Module stuf…
77 # Grab all popcorn.<parser-name>.unit.js files from parsers dir
d1946ef7 » cadecairos
2011-05-30 added separate lint targets for plugin, player and parser unit tests.…
78 PARSERS_UNIT := $(shell find ${PARSERS_DIR} -name 'popcorn.*.unit.js' -print)
79
80 # Grab all popcorn.<player-name>.unit.js files from players dir
81 PLAYERS_UNIT := $(shell find ${PLAYERS_DIR} -name 'popcorn.*.unit.js' -print)
82
ed8151f9 » cadecairos
2011-09-19 added preload=auto to unit tests. muted unit tests. added Module stuf…
83 # Grab all popcorn.<effects>.unit.js files from effects dir
c0bf5148 » David Humphrey
2011-06-23 Add effets/ to all necessary targets, create new effects targets, fix…
84 EFFECTS_UNIT := $(shell find $(EFFECTS_DIR) -name 'popcorn.*.unit.js' -print)
85
ed8151f9 » cadecairos
2011-09-19 added preload=auto to unit tests. muted unit tests. added Module stuf…
86 # Grab all popcorn.<module-name>.unit.js files from modules dir
87 MODULES_UNIT := $(shell find $(MODULES_DIR) -name 'popcorn.*.unit.js' -print)
88
a1b7db67 » humphd
2012-07-20 [#1123] Popcorn Media Wrappers: YouTube, Vimeo, SoundCloud, Audio, Vi…
89 # Grab all popcorn.<wrapper-name>.unit.js files from modules dir
90 WRAPPERS_UNIT := $(shell find $(WRAPPERS_DIR) -name 'popcorn.*.unit.js' -print)
91
845e02c3 » David Humphrey
2011-02-19 Review fixes.
92 # popcorn + plugins
99159c3a » David Humphrey
2011-03-11 Add parsers to popcorn-complete, linting, plus fixes to parsers for m…
93 POPCORN_COMPLETE_LIST := --js ${POPCORN_SRC} \
ed8151f9 » cadecairos
2011-09-19 added preload=auto to unit tests. muted unit tests. added Module stuf…
94 $(shell for js in ${MODULES_SRC} ; do echo --js $$js ; done) \
a1b7db67 » humphd
2012-07-20 [#1123] Popcorn Media Wrappers: YouTube, Vimeo, SoundCloud, Audio, Vi…
95 $(shell for js in $(WRAPPERS_SRC) ; do echo --js $$js ; done) \
d1e4881a » cadecairos
2011-10-24 added effects to min list [#788]
96 $(shell for js in ${EFFECTS_SRC} ; do echo --js $$js ; done) \
99159c3a » David Humphrey
2011-03-11 Add parsers to popcorn-complete, linting, plus fixes to parsers for m…
97 $(shell for js in ${PLUGINS_SRC} ; do echo --js $$js ; done) \
df98c221 » David Humphrey
2011-03-17 Makefile changes for players, complete, lint-players [ticket #420].
98 $(shell for js in ${PARSERS_SRC} ; do echo --js $$js ; done) \
99 $(shell for js in ${PLAYERS_SRC} ; do echo --js $$js ; done)
845e02c3 » David Humphrey
2011-02-19 Review fixes.
100 POPCORN_COMPLETE_DIST = ${DIST_DIR}/popcorn-complete.js
101 POPCORN_COMPLETE_MIN = ${DIST_DIR}/popcorn-complete.min.js
102
847a5f5d » David Humphrey
2012-03-06 Add ie8 target to Makefile [ticket 939]
103 # For IE8 compat we include a subset of all files, known to work with IE8.
104 POPCORN_IE8_FILES := \
105 $(IE8_DIR)/popcorn.ie8.js \
106 $(POPCORN_SRC) \
107 $(MODULES_DIR)/player/popcorn.player.js \
108 $(PLAYERS_DIR)/youtube/popcorn.youtube.js
109
110 POPCORN_IE8_DIST = $(DIST_DIR)/popcorn-ie8.js
111 POPCORN_IE8_MIN = $(DIST_DIR)/popcorn-ie8.min.js
112
cbcb58d7 » David Humphrey
2011-09-23 Add Popcorn.version with test.
113 # Create a versioned license header for js files we ship
114 add_license = cat $(PREFIX)/LICENSE_HEADER | sed -e 's/@VERSION/${VERSION}/' > $(1).__hdr__ ; \
115 cat $(1).__hdr__ $(1) >> $(1).__tmp__ ; rm -f $(1).__hdr__ ; \
116 mv $(1).__tmp__ $(1)
117
118 # Create a version parameter for Popcorn
119 add_version = cat $(1) | sed -e 's/@VERSION/${VERSION}/' > $(1).__tmp__ ; \
120 mv $(1).__tmp__ $(1)
05fb26d9 » David Humphrey
2011-02-19 Rework Makefile, add popcorn + plugin packaging.
121
c0bf5148 » David Humphrey
2011-06-23 Add effets/ to all necessary targets, create new effects targets, fix…
122 # Run the file through jslint
123 run_lint = @@$(RHINO) build/jslint-check.js $(1)
124
847a5f5d » David Humphrey
2012-03-06 Add ie8 target to Makefile [ticket 939]
125 all: setup popcorn plugins parsers players effects complete min ie8
dab610f9 » David Humphrey
2011-08-23 Split make target all into all and check, such that lint happens on c…
126 @@echo "Popcorn build complete. To create a testing mirror, run: make testing."
127
a1b7db67 » humphd
2012-07-20 [#1123] Popcorn Media Wrappers: YouTube, Vimeo, SoundCloud, Audio, Vi…
128 check: lint lint-plugins lint-parsers lint-players lint-effects lint-modules lint-wrappers
945483c8 » rwaldron
2011-01-19 [#261] Updates Makefile and adds build/ with tools
129
130 ${DIST_DIR}:
131 @@mkdir -p ${DIST_DIR}
132
133 popcorn: ${POPCORN_DIST}
134
cbcb58d7 » David Humphrey
2011-09-23 Add Popcorn.version with test.
135 ${POPCORN_DIST}: $(POPCORN_SRC) | $(DIST_DIR)
136 @@echo "Building" $(POPCORN_DIST)
137 @@cp $(POPCORN_SRC) $(POPCORN_DIST)
138 @@$(call add_license, $(POPCORN_DIST))
139 @@$(call add_version, $(POPCORN_DIST))
df98c221 » David Humphrey
2011-03-17 Makefile changes for players, complete, lint-players [ticket #420].
140
a1b7db67 » humphd
2012-07-20 [#1123] Popcorn Media Wrappers: YouTube, Vimeo, SoundCloud, Audio, Vi…
141 min: setup ${POPCORN_MIN} ${MODULES_MIN} $(WRAPPERS_MIN) ${PLUGINS_MIN} ${PARSERS_MIN} ${PLAYERS_MIN} $(EFFECTS_MIN) ${POPCORN_COMPLETE_MIN}
945483c8 » rwaldron
2011-01-19 [#261] Updates Makefile and adds build/ with tools
142
143 ${POPCORN_MIN}: ${POPCORN_DIST}
144 @@echo "Building" ${POPCORN_MIN}
cbcb58d7 » David Humphrey
2011-09-23 Add Popcorn.version with test.
145 @@$(call compile, --js $(POPCORN_DIST), $(POPCORN_MIN))
146 @@$(call add_license, $(POPCORN_MIN))
147 @@$(call add_version, $(POPCORN_MIN))
945483c8 » rwaldron
2011-01-19 [#261] Updates Makefile and adds build/ with tools
148
b62da5a0 » jbuck
2011-09-26 Fixes for SR
149 ${POPCORN_COMPLETE_MIN}: ${POPCORN_SRC} ${MODULES_SRC} ${PLUGINS_SRC} ${PARSERS_SRC} $(EFFECTS_SRC) ${DIST_DIR}
845e02c3 » David Humphrey
2011-02-19 Review fixes.
150 @@echo "Building" ${POPCORN_COMPLETE_MIN}
cbcb58d7 » David Humphrey
2011-09-23 Add Popcorn.version with test.
151 @@$(call compile, $(POPCORN_COMPLETE_LIST), $(POPCORN_COMPLETE_MIN))
152 @@$(call add_license, $(POPCORN_COMPLETE_MIN))
153 @@$(call add_version, $(POPCORN_COMPLETE_MIN))
945483c8 » rwaldron
2011-01-19 [#261] Updates Makefile and adds build/ with tools
154
b62da5a0 » jbuck
2011-09-26 Fixes for SR
155 modules: setup ${MODULES_DIST}
ed8151f9 » cadecairos
2011-09-19 added preload=auto to unit tests. muted unit tests. added Module stuf…
156
157 ${MODULES_MIN}: ${MODULES_DIST}
158 @@echo "Building" ${MODULES_MIN}
159 @@$(call compile, $(shell for js in ${MODULES_SRC} ; do echo --js $$js ; done), ${MODULES_MIN})
160
161 ${MODULES_DIST}: ${MODULES_SRC} ${DIST_DIR}
162 @@echo "Building ${MODULES_DIST}"
163 @@cat ${MODULES_SRC} > ${MODULES_DIST}
164
a1b7db67 » humphd
2012-07-20 [#1123] Popcorn Media Wrappers: YouTube, Vimeo, SoundCloud, Audio, Vi…
165 wrappers: setup $(WRAPPERS_DIST)
166
167 $(WRAPPERS_MIN): $(WRAPPERS_DIST)
168 @@echo "Building" $(WRAPPERS_MIN)
169 @@$(call compile, $(shell for js in $(WRAPPERS_SRC) ; do echo --js $$js ; done), $(WRAPPERS_MIN))
170
171 $(WRAPPERS_DIST): $(WRAPPERS_SRC) $(DIST_DIR)
172 @@echo "Building $(WRAPPERS_DIST)"
173 @@cat $(WRAPPERS_SRC) > $(WRAPPERS_DIST)
174
945483c8 » rwaldron
2011-01-19 [#261] Updates Makefile and adds build/ with tools
175 plugins: ${PLUGINS_DIST}
176
177 ${PLUGINS_MIN}: ${PLUGINS_DIST}
178 @@echo "Building" ${PLUGINS_MIN}
a1f8e1da » David Humphrey
2011-04-20 Add license header to all *.min.js files.
179 @@$(call compile, $(shell for js in ${PLUGINS_SRC} ; do echo --js $$js ; done), ${PLUGINS_MIN})
945483c8 » rwaldron
2011-01-19 [#261] Updates Makefile and adds build/ with tools
180
05fb26d9 » David Humphrey
2011-02-19 Rework Makefile, add popcorn + plugin packaging.
181 ${PLUGINS_DIST}: ${PLUGINS_SRC} ${DIST_DIR}
182 @@echo "Building ${PLUGINS_DIST}"
183 @@cat ${PLUGINS_SRC} > ${PLUGINS_DIST}
945483c8 » rwaldron
2011-01-19 [#261] Updates Makefile and adds build/ with tools
184
99159c3a » David Humphrey
2011-03-11 Add parsers to popcorn-complete, linting, plus fixes to parsers for m…
185 parsers: ${PARSERS_DIST}
186
187 ${PARSERS_MIN}: ${PARSERS_DIST}
188 @@echo "Building" ${PARSERS_MIN}
a1f8e1da » David Humphrey
2011-04-20 Add license header to all *.min.js files.
189 @@$(call compile, $(shell for js in ${PARSERS_SRC} ; do echo --js $$js ; done), ${PARSERS_MIN})
99159c3a » David Humphrey
2011-03-11 Add parsers to popcorn-complete, linting, plus fixes to parsers for m…
190
191 ${PARSERS_DIST}: ${PARSERS_SRC} ${DIST_DIR}
192 @@echo "Building ${PARSERS_DIST}"
193 @@cat ${PARSERS_SRC} > ${PARSERS_DIST}
194
df98c221 » David Humphrey
2011-03-17 Makefile changes for players, complete, lint-players [ticket #420].
195 players: ${PLAYERS_DIST}
196
197 ${PLAYERS_MIN}: ${PLAYERS_DIST}
198 @@echo "Building" ${PLAYERS_MIN}
a1f8e1da » David Humphrey
2011-04-20 Add license header to all *.min.js files.
199 @@$(call compile, $(shell for js in ${PLAYERS_SRC} ; do echo --js $$js ; done), ${PLAYERS_MIN})
df98c221 » David Humphrey
2011-03-17 Makefile changes for players, complete, lint-players [ticket #420].
200
201 ${PLAYERS_DIST}: ${PLAYERS_SRC} ${DIST_DIR}
202 @@echo "Building ${PLAYERS_DIST}"
203 @@cat ${PLAYERS_SRC} > ${PLAYERS_DIST}
204
c0bf5148 » David Humphrey
2011-06-23 Add effets/ to all necessary targets, create new effects targets, fix…
205 effects: $(EFFECTS_DIST)
206
207 $(EFFECTS_MIN): $(EFFECTS_DIST)
208 @@echo "Building" $(EFFECTS_MIN)
209 @@$(call compile, $(shell for js in $(EFFECTS_SRC) ; do echo --js $$js ; done), $(EFFECTS_MIN))
210
211 $(EFFECTS_DIST): $(EFFECTS_SRC) $(DIST_DIR)
212 @@echo "Building $(EFFECTS_DIST)"
213 @@cat $(EFFECTS_SRC) > $(EFFECTS_DIST)
214
6bbf24a8 » jbuck
2011-09-26 Update and move sequence submodule. Slim Makefile
215 complete: setup ${POPCORN_SRC} ${MODULES_SRC} ${PARSERS_SRC} ${PLUGINS_SRC} ${PLAYERS_SRC} $(EFFECTS_SRC) ${DIST_DIR}
ed8151f9 » cadecairos
2011-09-19 added preload=auto to unit tests. muted unit tests. added Module stuf…
216 @@echo "Building popcorn + modules + plugins + parsers + players + effects..."
cbcb58d7 » David Humphrey
2011-09-23 Add Popcorn.version with test.
217 @@cat ${POPCORN_SRC} ${MODULES_SRC} ${PLUGINS_SRC} ${PARSERS_SRC} ${PLAYERS_SRC} $(EFFECTS_SRC) > $(POPCORN_COMPLETE_DIST)
218 @@$(call add_license, $(POPCORN_COMPLETE_DIST))
219 @@$(call add_version, $(POPCORN_COMPLETE_DIST))
945483c8 » rwaldron
2011-01-19 [#261] Updates Makefile and adds build/ with tools
220
847a5f5d » David Humphrey
2012-03-06 Add ie8 target to Makefile [ticket 939]
221 ie8: $(POPCORN_IE8_MIN)
222
223 $(POPCORN_IE8_MIN): $(POPCORN_IE8_DIST)
224 @@echo "Building" $(POPCORN_IE8_MIN)
225 @@$(call compile, --js $(POPCORN_IE8_DIST), $(POPCORN_IE8_MIN))
226 @@$(call add_license, $(POPCORN_IE8_MIN))
227 @@$(call add_version, $(POPCORN_IE8_MIN))
228
229 $(POPCORN_IE8_DIST): $(POPCORN_IE8_FILES) $(DIST_DIR)
230 @@echo "Building $(POPCORN_IE8_DIST)"
231 @@cat $(POPCORN_IE8_FILES) > $(POPCORN_IE8_DIST)
232 @@$(call add_license, $(POPCORN_IE8_DIST))
233 @@$(call add_version, $(POPCORN_IE8_DIST))
234
1d3645f8 » db48x
2011-02-22 [#354] use different targets for linting popcorn.js and the plugins
235 lint:
945483c8 » rwaldron
2011-01-19 [#261] Updates Makefile and adds build/ with tools
236 @@echo "Checking Popcorn against JSLint..."
c0bf5148 » David Humphrey
2011-06-23 Add effets/ to all necessary targets, create new effects targets, fix…
237 @@$(call run_lint,popcorn.js)
1d3645f8 » db48x
2011-02-22 [#354] use different targets for linting popcorn.js and the plugins
238
d57ea083 » cadecairos
2011-09-15 added make target for linting core tests [#608]
239 lint-core-tests:
240 @@echo "Checking core unit tests against JSLint..."
241 @@$(call run_lint,test/popcorn.unit.js)
242
ed8151f9 » cadecairos
2011-09-19 added preload=auto to unit tests. muted unit tests. added Module stuf…
243 lint-modules:
244 @@echo "Checking all modules against JSLint..."
245 @@$(call run_lint,$(MODULES_SRC))
246
a1b7db67 » humphd
2012-07-20 [#1123] Popcorn Media Wrappers: YouTube, Vimeo, SoundCloud, Audio, Vi…
247 lint-wrappers:
248 @@echo "Checking all wrappers against JSLint..."
249 @@$(call run_lint,$(WRAPPERS_SRC))
250
1d3645f8 » db48x
2011-02-22 [#354] use different targets for linting popcorn.js and the plugins
251 lint-plugins:
252 @@echo "Checking all plugins against JSLint..."
c0bf5148 » David Humphrey
2011-06-23 Add effets/ to all necessary targets, create new effects targets, fix…
253 @@$(call run_lint,$(PLUGINS_SRC))
1d3645f8 » db48x
2011-02-22 [#354] use different targets for linting popcorn.js and the plugins
254
99159c3a » David Humphrey
2011-03-11 Add parsers to popcorn-complete, linting, plus fixes to parsers for m…
255 lint-parsers:
256 @@echo "Checking all parsers against JSLint..."
c0bf5148 » David Humphrey
2011-06-23 Add effets/ to all necessary targets, create new effects targets, fix…
257 @@$(call run_lint,$(PARSERS_SRC))
99159c3a » David Humphrey
2011-03-11 Add parsers to popcorn-complete, linting, plus fixes to parsers for m…
258
df98c221 » David Humphrey
2011-03-17 Makefile changes for players, complete, lint-players [ticket #420].
259 lint-players:
260 @@echo "Checking all players against JSLint..."
c0bf5148 » David Humphrey
2011-06-23 Add effets/ to all necessary targets, create new effects targets, fix…
261 @@$(call run_lint,$(PLAYERS_SRC))
262
263 lint-effects:
264 @@echo "Checking all effects against JSLint..."
265 @@$(call run_lint,$(EFFECTS_SRC))
df98c221 » David Humphrey
2011-03-17 Makefile changes for players, complete, lint-players [ticket #420].
266
ed8151f9 » cadecairos
2011-09-19 added preload=auto to unit tests. muted unit tests. added Module stuf…
267 lint-modules-tests:
268 @@echo "Checking modules unit tests against JSLint..."
269 @@$(call run_lint,$(MODULES_UNIT))
270
a1b7db67 » humphd
2012-07-20 [#1123] Popcorn Media Wrappers: YouTube, Vimeo, SoundCloud, Audio, Vi…
271 lint-wrappers-tests:
272 @@echo "Checking wrappers unit tests against JSLint..."
273 @@$(call run_lint,$(WRAPPERS_UNIT))
274
d1946ef7 » cadecairos
2011-05-30 added separate lint targets for plugin, player and parser unit tests.…
275 lint-plugin-tests:
276 @@echo "Checking plugin unit tests against JSLint..."
c0bf5148 » David Humphrey
2011-06-23 Add effets/ to all necessary targets, create new effects targets, fix…
277 @@$(call run_lint,$(PLUGINS_UNIT))
278
d1946ef7 » cadecairos
2011-05-30 added separate lint targets for plugin, player and parser unit tests.…
279 lint-parser-tests:
280 @@echo "Checking parser unit tests against JSLint..."
c0bf5148 » David Humphrey
2011-06-23 Add effets/ to all necessary targets, create new effects targets, fix…
281 @@$(call run_lint,$(PARSERS_UNIT))
282
283 lint-effects-tests:
284 @@echo "Checking effectsr unit tests against JSLint..."
285 @@$(call run_lint,$(EFFECTS_UNIT))
286
d1946ef7 » cadecairos
2011-05-30 added separate lint targets for plugin, player and parser unit tests.…
287 lint-player-tests:
288 @@echo "Checking player unit tests against JSLint..."
c0bf5148 » David Humphrey
2011-06-23 Add effets/ to all necessary targets, create new effects targets, fix…
289 @@$(call run_lint,$(PLAYERS_UNIT))
290
a1b7db67 » humphd
2012-07-20 [#1123] Popcorn Media Wrappers: YouTube, Vimeo, SoundCloud, Audio, Vi…
291 lint-unit-tests: lint-modules-tests lint-wrappers-tests lint-plugin-tests lint-parser-tests lint-player-tests lint-effects-tests
d1946ef7 » cadecairos
2011-05-30 added separate lint targets for plugin, player and parser unit tests.…
292 @@echo "completed"
293
0ceb75e1 » David Humphrey
2011-05-18 Add make target for building testing mirror in dist [ticket 335].
294 # Create a mirror copy of the tree in dist/ using popcorn-complete.js
295 # in place of popcorn.js.
296 TESTING_MIRROR := ${DIST_DIR}/testing-mirror
297
b6d4aaa3 » David Humphrey
2011-05-18 Also stub out players/ and parsers/.
298 # Prefer plugin code in popcorn-complete.js but don't overrwrite *unit.js files
299 overwrite_js = @@for js in $$(find ${1} \( -name "*.js" -a \! -name "*.unit.js" \)) ; \
a3616c5b » David Humphrey
2011-05-18 Remove stub function, use comment only.
300 do echo '/* Stub, see popcorn.js instead */' > $$js ; \
b6d4aaa3 » David Humphrey
2011-05-18 Also stub out players/ and parsers/.
301 done
302
0ceb75e1 » David Humphrey
2011-05-18 Add make target for building testing mirror in dist [ticket 335].
303 testing: complete
304 @@echo "Building testing-mirror in ${TESTING_MIRROR}"
305 @@mkdir -p ${TESTING_MIRROR}
285b8ad0 » David Humphrey
2011-05-18 Don't copy .git dir into testing-mirror.
306 @@find ${PREFIX} \( -name '.git' -o -name 'dist' \) -prune -o -print | cpio -pd --quiet ${TESTING_MIRROR}
0ceb75e1 » David Humphrey
2011-05-18 Add make target for building testing mirror in dist [ticket 335].
307 # Remove unneeded files for testing, so it's clear this isn't the tree
285b8ad0 » David Humphrey
2011-05-18 Don't copy .git dir into testing-mirror.
308 @@rm -fr ${TESTING_MIRROR}/AUTHORS ${TESTING_MIRROR}/LICENSE ${TESTING_MIRROR}/LICENSE_HEADER \
0ceb75e1 » David Humphrey
2011-05-18 Add make target for building testing mirror in dist [ticket 335].
309 ${TESTING_MIRROR}/Makefile ${TESTING_MIRROR}/readme.md
310 @@touch "${TESTING_MIRROR}/THIS IS A TESTING MIRROR -- READ-ONLY"
ed8151f9 » cadecairos
2011-09-19 added preload=auto to unit tests. muted unit tests. added Module stuf…
311 $(call overwrite_js, ${TESTING_MIRROR}/modules)
b6d4aaa3 » David Humphrey
2011-05-18 Also stub out players/ and parsers/.
312 $(call overwrite_js, ${TESTING_MIRROR}/plugins)
313 $(call overwrite_js, ${TESTING_MIRROR}/players)
314 $(call overwrite_js, ${TESTING_MIRROR}/parsers)
c0bf5148 » David Humphrey
2011-06-23 Add effets/ to all necessary targets, create new effects targets, fix…
315 $(call overwrite_js, ${TESTING_MIRROR}/effects)
0ceb75e1 » David Humphrey
2011-05-18 Add make target for building testing mirror in dist [ticket 335].
316 @@cp ${POPCORN_COMPLETE_DIST} ${TESTING_MIRROR}/popcorn.js
317
945483c8 » rwaldron
2011-01-19 [#261] Updates Makefile and adds build/ with tools
318 clean:
319 @@echo "Removing Distribution directory:" ${DIST_DIR}
320 @@rm -rf ${DIST_DIR}
df3c2542 » dseif
2011-05-18 Updated positioning of completes dependencies, putting update first, …
321
6bbf24a8 » jbuck
2011-09-26 Update and move sequence submodule. Slim Makefile
322 setup:
df3c2542 » dseif
2011-05-18 Updated positioning of completes dependencies, putting update first, …
323 @@echo "Updating submodules..."
6bbf24a8 » jbuck
2011-09-26 Update and move sequence submodule. Slim Makefile
324 @@git submodule update --init
Something went wrong with that request. Please try again.