docs: Add some doc string to the scripts
This commit is contained in:
parent
5dc2b127fa
commit
039f954e70
@ -1,3 +1,9 @@
|
|||||||
|
'''
|
||||||
|
This script generates a .nix file containing all dependencies specified in the
|
||||||
|
special lock file. The .nix file also contains the derivation "pubCache", which can
|
||||||
|
be used as the path in the PUB_CACHE environment variable.
|
||||||
|
'''
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import yaml
|
import yaml
|
||||||
import urllib.parse
|
import urllib.parse
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
'''
|
||||||
|
Takes a Dart pubspec.lock file as input and outputs a specialized lock file
|
||||||
|
that contains archive URLs and sha256 hashes for nix. Only useful in combination
|
||||||
|
with lock2nix.py.
|
||||||
|
'''
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import subprocess
|
import subprocess
|
||||||
import urllib
|
import urllib
|
||||||
|
Loading…
Reference in New Issue
Block a user