Skip to content

Commit 7957048

Browse files
authored
Merge pull request #913 from bobeff/feature/lock-file
New package develop mode and lock file support.
2 parents bdc9678 + c8c252e commit 7957048

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+9187
-2887
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ jobs:
1313
- macos-latest
1414
- ubuntu-latest
1515
nimversion:
16-
- 1.2.8
17-
- 1.4.2
18-
- nightly:https://github.com/nim-lang/nightlies/releases/tag/2021-02-06-devel-39230422d02bd41b02378211e8613f702e5b945c
16+
- nightly:https://github.com/nim-lang/nightlies/releases/tag/2021-07-18-devel-923a1c6ea7d9f45b6389680717692690218228fb
1917
name: ${{ matrix.os }} - ${{ matrix.nimversion }}
2018
runs-on: ${{ matrix.os }}
2119
env:
@@ -26,6 +24,9 @@ jobs:
2624
with:
2725
version: ${{ matrix.nimversion }}
2826
- run: nim --version
27+
- name: Install Mercurial on macOS
28+
if: matrix.os == 'macos-latest'
29+
run: brew install mercurial
2930
- name: Run nim c -r tester
3031
run: |
3132
cd tests

.gitignore

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,38 @@ nimcache/
1313
/src/babel
1414
/src/nimble
1515

16+
# executables from test and build
17+
/nimble
18+
src/nimblepkg/checksums
19+
src/nimblepkg/cli
20+
src/nimblepkg/common
21+
src/nimblepkg/config
22+
src/nimblepkg/developfile
23+
src/nimblepkg/download
24+
src/nimblepkg/init
25+
src/nimblepkg/jsonhelpers
26+
src/nimblepkg/lockfile
27+
src/nimblepkg/nimbledatafile
28+
src/nimblepkg/nimblelinkfile
29+
src/nimblepkg/nimscriptapi
30+
src/nimblepkg/nimscriptexecutor
31+
src/nimblepkg/nimscriptwrapper
32+
src/nimblepkg/options
33+
src/nimblepkg/packageinfo
34+
src/nimblepkg/packageinfotypes
35+
src/nimblepkg/packageinstaller
36+
src/nimblepkg/packagemetadatafile
37+
src/nimblepkg/packageparser
38+
src/nimblepkg/paths
39+
src/nimblepkg/publish
40+
src/nimblepkg/reversedeps
41+
src/nimblepkg/sha1hashes
42+
src/nimblepkg/syncfile
43+
src/nimblepkg/tools
44+
src/nimblepkg/topologicalsort
45+
src/nimblepkg/vcstools
46+
src/nimblepkg/version
47+
1648
# Windows executables
1749
*.exe
1850
*.dll
@@ -28,13 +60,5 @@ nimcache/
2860
*.orig
2961

3062
# Test procedure artifacts
63+
*.nims
3164
/buildTests
32-
33-
# executables from test and build (already gitignored but keeping for documentation)
34-
# /nimble
35-
# src/nimblepkg/cli
36-
# src/nimblepkg/packageinfo
37-
# src/nimblepkg/packageparser
38-
# src/nimblepkg/reversedeps
39-
# src/nimblepkg/version
40-
# src/nimblepkg/download

changelog.markdown

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33

44
# Nimble changelog
55

6+
## 0.14.0
7+
8+
This is a major release containing four new features:
9+
10+
- A new dependencies development mode.
11+
- Support for lock files.
12+
- Download tarballs when downloading packages from GitHub.
13+
- A setup command.
14+
615
## 0.13.0
716

817
This is a bugfix release. It enhances the security in multiple aspects:

config.nims

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Disable "ObservableStores" warning for the entire project because it gives
2+
# too many false positives.
3+
switch("warning", "ObservableStores:off")
4+
switch("define", "ssl")

0 commit comments

Comments
 (0)