- Removes the GHA publishing the package to Gemfury on merge
- Updates instructions to install from GitHub public repo
- Adds
--from-scratch
flag to wipe destination before challengification
- Adds support for
.xml
file type
- Adds support for file deletion: remove from the destination the input sources that shoud not exist
- Adds repository related default destination parameter: a
*-solutions
respository will have a*-challenges
default destination parameter
- Adds support for
.proto
file type
- Adds support for
.conf
file type
- Adds support for
.dbml
file type
- Corrects use for
.sql
file type
- Adds support for
.yml
,.yaml
,.toml
and extensionless file types - Adds support for
IMPORT
verb
- Adds support for version and position macros
- Adds support for globbing patterns in iterate only for/from/to rules
- Adds support for several sources in conf file
- Adds support for versioned files conf in
.challengify_iterate.yml
- Adds version only delimiter generators
# $verb_ONLY_FOR_version_BEGIN
and# $verb_ONLY_FOR_version_END
for verbsCHALLENGIFY
,CHA
,DELETE
,DEL
,ERASE
,WIPE
,IMPLODE
- Adds support for
CODE
verb - Replaces numeric versions with ordered text versions in
.challengify_iterate.yml
- Allows the use of prefixes for the
iterate
command through wagon_common AliasedGroup (i.e.challengify ite
instead ofchallengify iterate
) - Allows to generate a specific or a range of challenge versions through the
-c
option (i.e.-c api
,-c api..api_advanced
,-c api..
,-c ..api
,-c 3
, -c3..4
,-c 3..
,-c ..3
,-c 0..api
) - Adds a
destination
directory in the conf file for the root of the generated challenge versions - Adds the
iterate
command conf file paramonly.for
- Adds
# $ONLY_xxx_version_BEGIN
and# $ONLY_xxx_version_END
code delimiters forchallengify iterate
with option toERASE
,WIPE
(default) orIMPLODE
- Generates a per challenge version
.lewagon/.challengify_generated.txt
containing the list of generated files - Adds
--ignore-metadata
option to ignore metadata file generation - Adds functional test
- Adds support for
.html
,.css
,.js
,.html.erb
and.js.erb
file types - Adds
# $CHA_BEGIN
/# $CHA_END
delimiter aliases - Adds
# $DEL_BEGIN
/# $DEL_END
delimiters aliases - Adds
# $ERASE_BEGIN
/# $ERASE_END
delimiters consuming block newline - Adds
# $WIPE_BEGIN
/# $WIPE_END
delimiters consuming block newline + following newline - Adds
# $IMPLODE_BEGIN
/# $IMPLODE_END
delimiters consuming block newline + surrounding newlines - Adds support for indented delimiters (consumes leading whitespaces for
ERASE
,WIPE
andIMPLODE
) --dry-run
now lists the destination path of the files that would be generated- Adds tests for code transformations
- Does not consume anymore the delimiters of the
run
command - Corrects the path of the generated challenge files
- Add a
--format
option to use an autoformatter (default False), previously the autoformatter always ran - Refactor the code handling version generation
- Renames the
iterate
command conf file paramsignore.before
andignore.after
intoonly.from
andonly.to
- Renames the conf file for the
iterate
command from.challengify_iterate.yaml
to.challengify_iterate.yml
- Renames the conf file
destinations
param toversions
- Refactores the code in order to use a version iterator
- Removes unnecessary
project_name
param in conf file