Skip to content

Commit

Permalink
Staging for Adept 2.3 Release. Changed experimental package manager t…
Browse files Browse the repository at this point in the history
…o be off by default
  • Loading branch information
IsaacShelton committed Aug 30, 2020
1 parent f1d9e89 commit 2cb7600
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Whether to include support for built-in adept package manager
# NOTE: Requires libcurl fields to be filled out
# NOTE: Default is 'true'
ENABLE_ADEPT_PACKAGE_MANAGER=true
ENABLE_ADEPT_PACKAGE_MANAGER=false

# --------------------------- Change These Values ---------------------------
# NOTE: For Windows, ensure mingw32-make.exe uses cmd.exe for shell
Expand Down
2 changes: 2 additions & 0 deletions src/DRVR/compiler.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ void compiler_invoke(compiler_t *compiler, int argc, char **argv){

compiler->root = filename_path(compiler->location);

#ifdef ADEPT_ENABLE_PACKAGE_MANAGER
{
// Read persistent config file
strong_cstr_t config_filename = mallocandsprintf("%sadept.config", compiler->root);
Expand All @@ -101,6 +102,7 @@ void compiler_invoke(compiler_t *compiler, int argc, char **argv){

free(config_filename);
}
#endif

if(parse_arguments(compiler, object, argc, argv)) return;

Expand Down

0 comments on commit 2cb7600

Please sign in to comment.