Skip to content

Commit

Permalink
Perform a clean before sdist
Browse files Browse the repository at this point in the history
  • Loading branch information
roman committed Jan 2, 2018
1 parent 100dad9 commit 1ebe179
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ build: $(EXAMPLE1_BIN) ## Build library and example binaries
test: $(EXAMPLE1_BIN) ## Execute test suites
$(STACK) test --dump-logs

sdist: ## Build a release
sdist: clean ## Build a release
@mkdir -p target
stack --resolver nightly sdist . --pvp-bounds both
$(NIGHTLY_STACK) sdist . --pvp-bounds both
cp $(SDIST_TAR) target

untar-sdist: sdist
Expand All @@ -99,7 +99,9 @@ repl: $(PPSH_BIN) ## Start project's repl
stack ghci

clean: ## Clean built artifacts
rm $(BIN_DIR)/*
rm -f $(BIN_DIR)/*
rm -f target/*
rm -rf tmp/*
stack clean

dev-setup: .make/setup_done ## Install development dependencies
Expand Down

0 comments on commit 1ebe179

Please sign in to comment.