Skip to content

Commit

Permalink
Merge pull request #346 from ooyala/feature/PLAYER-4906
Browse files Browse the repository at this point in the history
Inject webpack into html5_video_plugin repo
  • Loading branch information
zelibobla authored Dec 21, 2018
2 parents df9f9cc + 660f8c8 commit 7022fb7
Show file tree
Hide file tree
Showing 5 changed files with 4,854 additions and 1,933 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,16 @@ To automatically build the plugins when a file is changed, run the command:
$ gulp watch
```

You can also build the plugins with webpack:
a. In development mode without minification
```bash
$ npm start
```
b. In production mode

```bash
$ npm start:prod
```
## JS Documentation

To build the jsdocs style documentation, run the command:
Expand Down
23 changes: 23 additions & 0 deletions ant-builds.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
const exec = require('child_process').exec;

exec("ant -buildfile build_flash.xml -Dbuild=build/classes wrapper", function(err) {
exec("ant -buildfile build_flash.xml -Dbuild=build/classes build-CC-osmf", function(err) {
exec("ant -buildfile build_flash.xml -Dbuild=build/classes build-osmf", function(err) {
if (err) console.log("Error occured in building osmf plugin : " + err);
exec("ant -buildfile build_flash.xml -Dbuild=build/classes clean-osmf", function(err) {
if (err) return console.log(err);
});
});
});
});

exec("ant -buildfile build_flash.xml -Dbuild=build/classes wrapper", function(err) {
exec("ant -buildfile build_flash.xml -Dbuild=build/classes build-CC-akamai", function(err) {
exec("ant -buildfile build_flash.xml -Dbuild=build/classes build-akamai", function(err) {
if (err) console.log("Error occured in building akamai plugin : " + err);
exec("ant -buildfile build_flash.xml -Dbuild=build/classes clean-akamai", function(err) {
if (err) return console.log(err);
});
});
});
});
Loading

0 comments on commit 7022fb7

Please sign in to comment.