function webAppCompiler(varargin)

%WEBAPPCOMPILER Web App Compiler app
%
%    This function will start the Web App Compiler. You can create, build
%    and package web application projects using the Web App Compiler app.
%
%    USAGE:
%    webAppCompiler will start the app with an empty Web App project.
%
%    webAppCompiler projectname will open an existing project in the app. 
%    If the project does not exist, an error will be generated and the
%    program will exit.
%
%    See also applicationCompiler, deploytool, hadoopCompiler, libraryCompiler, mcc, mbuild, productionServerCompiler

% Copyright 2017 MathWorks, Inc.

narginchk(0,2)

% Verify Compiler license
status = license('checkout','Compiler');
if ~status
    error(message('Compiler:deploytool:license_checkout_error'))
end

compiler.internal.launchui(mfilename,varargin{:})

