mfoemmel / fig

Fig is a utility for configuring environments and managing dependencies across a team of developers.
Other
81 stars 13 forks source link

resource statement should accept wildcards #49

Closed jramnani closed 12 years ago

jramnani commented 14 years ago

The "resource" statement used when publishing should support some wildcards. These wildcards would act like ant-style file globs.

Given the following wildcards and their descriptions: * Match zero or more characters for files in the directory. \ Match zero or more directories. ? Match one character And the following jar files in my project: output/ ├── bar.jar └── baz.jar When I have a wildcard of foo/.jar in my resource statement fig --publish foo/1.0 --resource="output/.jar" --append="CLASSPATH=@/output/bar.jar"

Then both "bar.jar" and "baz.jar" will be published to the fig repository, and downloaded when a user includes the foo/1.0 package in their project.

walquis commented 12 years ago

Resource statements can use wildcards, as of v0.1.22