1.0.2 • Published 9 years ago
fap-application v1.0.2
Usage:
- class Application
import Application from "fap-application";
import { Env } from "fap-application/lib/util/constants";
let app = new Application({
cwd: process.cwd(),
env: Env.DEVELOP
});
app.fetch().then(() => {
return app.reset();
}).then(() => {
return app.checkout('release');
}).then(() => {
return app.reset('12345678');
});
- class Packer
import { Packer } from "fap-application";
import { Env } from "fap-application/lib/util/constants";
let packer = new Packer({
cwd: process.cwd(),
env: Env.PRODUCTION
});
let app = packer.app;
app.fetch().then(() => {
return app.reset();
}).then(() => {
return app.checkout('release');
}).then(() => {
return app.reset('12345678');
}).then(() => {
packer.build();
});