Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inject webpack into html5_video_plugin repo #346

Merged
merged 4 commits into from
Dec 21, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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