Package io.github.cdklabs.projen
Class Makefile
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- io.github.cdklabs.projen.Component
-
- io.github.cdklabs.projen.FileBase
-
- io.github.cdklabs.projen.Makefile
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:42.776Z") @Stability(Experimental) public class Makefile extends FileBase
(experimental) Minimal Makefile.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMakefile.Builder(experimental) A fluent builder forMakefile.
-
Constructor Summary
Constructors Modifier Constructor Description Makefile(Project project, String filePath)Makefile(Project project, String filePath, MakefileOptions options)protectedMakefile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedMakefile(software.amazon.jsii.JsiiObjectRef objRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MakefileaddAll(String target)(experimental) Add a target to all.MakefileaddAlls(@NotNull String... targets)(experimental) Add multiple targets to all.MakefileaddRule(Rule rule)(experimental) Add a rule to the Makefile.MakefileaddRules(@NotNull Rule... rules)(experimental) Add multiple rules to the Makefile.List<Rule>getRules()(experimental) List of rule definitions.protected StringsynthesizeContent(IResolver resolver)(experimental) Implemented by derived classes and returns the contents of the file to emit.-
Methods inherited from class io.github.cdklabs.projen.FileBase
getAbsolutePath, getChanged, getExecutable, getMarker, getPath, getReadonly, setExecutable, setReadonly, synthesize
-
Methods inherited from class io.github.cdklabs.projen.Component
getProject, isComponent, postSynthesize, preSynthesize
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
Makefile
protected Makefile(software.amazon.jsii.JsiiObjectRef objRef)
-
Makefile
protected Makefile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
Makefile
@Stability(Experimental) public Makefile(@NotNull Project project, @NotNull String filePath, @Nullable MakefileOptions options)- Parameters:
project- This parameter is required.filePath- This parameter is required.options-
-
-
Method Detail
-
addAll
@Stability(Experimental) @NotNull public Makefile addAll(@NotNull String target)
(experimental) Add a target to all.- Parameters:
target- This parameter is required.
-
addAlls
@Stability(Experimental) @NotNull public Makefile addAlls(@NotNull @NotNull String... targets)
(experimental) Add multiple targets to all.- Parameters:
targets- This parameter is required.
-
addRule
@Stability(Experimental) @NotNull public Makefile addRule(@NotNull Rule rule)
(experimental) Add a rule to the Makefile.- Parameters:
rule- This parameter is required.
-
addRules
@Stability(Experimental) @NotNull public Makefile addRules(@NotNull @NotNull Rule... rules)
(experimental) Add multiple rules to the Makefile.- Parameters:
rules- This parameter is required.
-
synthesizeContent
@Stability(Experimental) @Nullable protected String synthesizeContent(@NotNull IResolver resolver)
(experimental) Implemented by derived classes and returns the contents of the file to emit.- Specified by:
synthesizeContentin classFileBase- Parameters:
resolver- This parameter is required.- Returns:
- the content to synthesize or undefined to skip the file
-
-